Empirical
Public Member Functions | Public Attributes | List of all members
emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction Struct Reference

#include <EventDrivenGP.h>

Public Member Functions

 Instruction (size_t _id=0, arg_t a0=0, arg_t a1=0, arg_t a2=0, const affinity_t &_aff=affinity_t())
 
 Instruction (const Instruction &)=default
 
 Instruction (Instruction &&)=default
 
Instructionoperator= (const Instruction &)=default
 
Instructionoperator= (Instruction &&)=default
 
void Set (size_t _id, arg_t _a0=0, arg_t _a1=0, arg_t _a2=0, const affinity_t &_aff=affinity_t())
 
void Set (const Instruction &other)
 
bool operator== (const Instruction &in) const
 
bool operator!= (const Instruction &in) const
 
bool operator< (const Instruction &other) const
 

Public Attributes

size_t id
 
arg_set_t args
 
affinity_t affinity
 

Detailed Description

template<size_t AFFINITY_WIDTH>
struct emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction

Struct to maintain EventDrivenGP Instruction information. Each instruction has an associated:

Constructor & Destructor Documentation

template<size_t AFFINITY_WIDTH>
emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::Instruction ( size_t  _id = 0,
arg_t  a0 = 0,
arg_t  a1 = 0,
arg_t  a2 = 0,
const affinity_t _aff = affinity_t() 
)
inline
template<size_t AFFINITY_WIDTH>
emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::Instruction ( const Instruction )
default
template<size_t AFFINITY_WIDTH>
emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::Instruction ( Instruction &&  )
default

Member Function Documentation

template<size_t AFFINITY_WIDTH>
bool emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::operator!= ( const Instruction in) const
inline
template<size_t AFFINITY_WIDTH>
bool emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::operator< ( const Instruction other) const
inline
template<size_t AFFINITY_WIDTH>
Instruction& emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::operator= ( const Instruction )
default
template<size_t AFFINITY_WIDTH>
Instruction& emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::operator= ( Instruction &&  )
default
template<size_t AFFINITY_WIDTH>
bool emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::operator== ( const Instruction in) const
inline
template<size_t AFFINITY_WIDTH>
void emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::Set ( size_t  _id,
arg_t  _a0 = 0,
arg_t  _a1 = 0,
arg_t  _a2 = 0,
const affinity_t _aff = affinity_t() 
)
inline
template<size_t AFFINITY_WIDTH>
void emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::Set ( const Instruction other)
inline

Member Data Documentation

template<size_t AFFINITY_WIDTH>
affinity_t emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::affinity
template<size_t AFFINITY_WIDTH>
arg_set_t emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::args
template<size_t AFFINITY_WIDTH>
size_t emp::EventDrivenGP_AW< AFFINITY_WIDTH >::Instruction::id

The documentation for this struct was generated from the following file: