← Documentation
ADS-IDAC Engine 5.0.0
DecisionActionObjective Class Reference

#include <DecisionActionObjective.h>

Inheritance diagram for DecisionActionObjective:
[legend]
Collaboration diagram for DecisionActionObjective:
[legend]

Public Member Functions

 DecisionActionObjective ()
 
virtual ~DecisionActionObjective ()
 
void setActionObjectiveName (std::string)
 
std::string getActionObjectiveName ()
 
void copyDecisionActionObjective (DecisionActionObjective &)
 
void addActionPack (DecisionActionPack *)
 
void clear ()
 
void saveDecisionActionObjectiveToFile (std::ofstream &)
 
void retrieveDecisionActionObjectiveFromFile (std::ifstream &)
 
bool checkIfIsIdenticalDecisionActionObjective (DecisionActionObjective &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from Decision
 Decision ()
 
virtual ~Decision ()
 
void setDecision (int)
 
int getDecision ()
 
void copyDecision (Decision &)
 
void saveDecisionToFile (std::ostream &)
 
void retrieveDecisionFromFile (std::istream &)
 
bool checkIfIsIdenticalDecision (Decision &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from StateOfActivation
 StateOfActivation ()
 
virtual ~StateOfActivation ()
 
int getStateOfActivation ()
 
void setStateOfActivation (int)
 
void copyStateOfActivation (StateOfActivation &)
 
void saveStateOfActivationToFile (std::ofstream &)
 
void retrieveStateOfActivationFromFile (std::ifstream &)
 
void resetStateOfActivation ()
 
bool checkIfIsIdenticalStateOfActivation (StateOfActivation &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from MentalInfo
 MentalInfo ()
 
virtual ~MentalInfo ()
 
void setTimeAtWhichThisInfoIsPerceived (double)
 
double getTimeAtWhichThisInfoIsPerceived ()
 
void setTypeOfMentalInfo (int)
 
int getTypeOfMentalInfo ()
 
void copyMentalInfo (MentalInfo &)
 
void saveMentalInfoToFile (std::ofstream &)
 
void retrieveMentalInfoFromFile (std::ifstream &)
 
bool checkIfIsIdenticalMentalInfo (MentalInfo &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

std::vector< std::unique_ptr< DecisionActionPack > > related_action_pack
 

Private Attributes

std::string action_objective_name
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 25 of file DecisionActionObjective.h.

Constructor & Destructor Documentation

◆ DecisionActionObjective()

DecisionActionObjective::DecisionActionObjective ( )

Definition at line 16 of file DecisionActionObjective.cpp.

References action_objective_name.

◆ ~DecisionActionObjective()

DecisionActionObjective::~DecisionActionObjective ( )
virtual

Definition at line 21 of file DecisionActionObjective.cpp.

Member Function Documentation

◆ addActionPack()

void DecisionActionObjective::addActionPack ( DecisionActionPack *  _ap)

Definition at line 32 of file DecisionActionObjective.cpp.

References related_action_pack.

◆ checkIfIsIdenticalDecisionActionObjective()

bool DecisionActionObjective::checkIfIsIdenticalDecisionActionObjective ( DecisionActionObjective &  _db)

Definition at line 48 of file DecisionActionObjective.cpp.

References action_objective_name, Decision::checkIfIsIdenticalDecision(), MentalInfo::checkIfIsIdenticalMentalInfo(), and getActionObjectiveName().

Here is the call graph for this function:

◆ clear()

void DecisionActionObjective::clear ( )

Definition at line 35 of file DecisionActionObjective.cpp.

References related_action_pack.

◆ copyDecisionActionObjective()

void DecisionActionObjective::copyDecisionActionObjective ( DecisionActionObjective &  _aop)

Definition at line 27 of file DecisionActionObjective.cpp.

References action_objective_name, Decision::copyDecision(), MentalInfo::copyMentalInfo(), and getActionObjectiveName().

Referenced by BranchActionObjective::copyBranchActionObjective().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getActionObjectiveName()

string DecisionActionObjective::getActionObjectiveName ( )

Definition at line 26 of file DecisionActionObjective.cpp.

References action_objective_name.

Referenced by checkIfIsIdenticalDecisionActionObjective(), copyDecisionActionObjective(), and BranchActionObjective::saveInfoToFile().

Here is the caller graph for this function:

◆ retrieveDecisionActionObjectiveFromFile()

void DecisionActionObjective::retrieveDecisionActionObjectiveFromFile ( std::ifstream &  )

Definition at line 43 of file DecisionActionObjective.cpp.

References action_objective_name, Decision::retrieveDecisionFromFile(), and MentalInfo::retrieveMentalInfoFromFile().

Referenced by BranchActionObjective::retrieveBranchActionObjectiveFromFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveDecisionActionObjectiveToFile()

void DecisionActionObjective::saveDecisionActionObjectiveToFile ( std::ofstream &  )

Definition at line 38 of file DecisionActionObjective.cpp.

References action_objective_name, Decision::saveDecisionToFile(), and MentalInfo::saveMentalInfoToFile().

Referenced by BranchActionObjective::saveBranchActionObjectiveToFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ serialize()

template<class Archive >
void DecisionActionObjective::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

Definition at line 42 of file DecisionActionObjective.h.

References action_objective_name, and related_action_pack.

◆ setActionObjectiveName()

void DecisionActionObjective::setActionObjectiveName ( std::string  )

Definition at line 25 of file DecisionActionObjective.cpp.

References action_objective_name.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 39 of file DecisionActionObjective.h.

Member Data Documentation

◆ action_objective_name

◆ related_action_pack

std::vector<std::unique_ptr<DecisionActionPack> > DecisionActionObjective::related_action_pack

Definition at line 35 of file DecisionActionObjective.h.

Referenced by addActionPack(), clear(), and serialize().


The documentation for this class was generated from the following files: