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

#include <AvidaGP.h>

Public Member Functions

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

Public Attributes

size_t id
 
arg_set_t args
 

Constructor & Destructor Documentation

template<typename HARDWARE>
emp::AvidaCPU_Base< HARDWARE >::Instruction::Instruction ( size_t  _id = 0,
size_t  a0 = 0,
size_t  a1 = 0,
size_t  a2 = 0 
)
inline
template<typename HARDWARE>
emp::AvidaCPU_Base< HARDWARE >::Instruction::Instruction ( const Instruction )
default
template<typename HARDWARE>
emp::AvidaCPU_Base< HARDWARE >::Instruction::Instruction ( Instruction &&  )
default

Member Function Documentation

template<typename HARDWARE>
bool emp::AvidaCPU_Base< HARDWARE >::Instruction::operator< ( const Instruction other) const
inline
template<typename HARDWARE>
Instruction& emp::AvidaCPU_Base< HARDWARE >::Instruction::operator= ( const Instruction )
default
template<typename HARDWARE>
Instruction& emp::AvidaCPU_Base< HARDWARE >::Instruction::operator= ( Instruction &&  )
default
template<typename HARDWARE>
bool emp::AvidaCPU_Base< HARDWARE >::Instruction::operator== ( const Instruction in) const
inline
template<typename HARDWARE>
void emp::AvidaCPU_Base< HARDWARE >::Instruction::Set ( size_t  _id,
size_t  _a0 = 0,
size_t  _a1 = 0,
size_t  _a2 = 0 
)
inline

Member Data Documentation

template<typename HARDWARE>
arg_set_t emp::AvidaCPU_Base< HARDWARE >::Instruction::args
template<typename HARDWARE>
size_t emp::AvidaCPU_Base< HARDWARE >::Instruction::id

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