|
ADS-IDAC Engine 5.0.0
|
#include <HardWiredMentalBelief.h>
Public Member Functions | |
| HardWiredMentalBelief () | |
| virtual | ~HardWiredMentalBelief () |
| void | copyHardWiredMentalBelief (HardWiredMentalBelief &) |
| void | readInfoFromFile (std::ifstream &) |
| int | checkForMatch (std::string, int) |
| void | setExpectedState (int) |
| int | getExpectedState () |
| void | saveHardWiredMentalBeliefToFile (std::ofstream &) |
| void | retrieveHardWiredMentalBeliefFromFile (std::ifstream &) |
Public Member Functions inherited from KBElement | |
| KBElement () | |
| virtual | ~KBElement () |
| void | setInfoName (std::string) |
| std::string | getInfoName () |
| void | readInfoFromFile (std::ifstream &) |
| void | copyKBElement (KBElement &) |
| void | saveKBElementToFile (std::ofstream &) |
| void | retrieveKBElementFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalKBElement (KBElement &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from ExpectationElement | |
| virtual void | state_save (boost::archive::binary_oarchive &ar) const |
| virtual void | state_load (boost::archive::binary_iarchive &ar) |
| ExpectationElement () | |
| virtual | ~ExpectationElement () |
| void | setStateOfExpectation (int) |
| int | getStateOfExpectation () |
| int | updateExpectation (int) |
| void | copyExpectationElement (ExpectationElement &) |
| void | setTypeOfExpectation (int) |
| int | getTypeOfExpectation () |
| void | saveExpectationElementToFile (std::ofstream &) |
| void | retrieveExpectationElementFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalExpectationElement (ExpectationElement &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| int | expected_state |
Friends | |
| class | boost::serialization::access |
Additional Inherited Members | |
Public Attributes inherited from KBElement | |
| std::string | info_name |
Definition at line 20 of file HardWiredMentalBelief.h.
| HardWiredMentalBelief::HardWiredMentalBelief | ( | ) |
Definition at line 19 of file HardWiredMentalBelief.cpp.
References expected_state, sim::Branch::MentalBelief, sim::None, and ExpectationElement::setTypeOfExpectation().
|
virtual |
Definition at line 25 of file HardWiredMentalBelief.cpp.
| int HardWiredMentalBelief::checkForMatch | ( | std::string | , |
| int | |||
| ) |
Definition at line 39 of file HardWiredMentalBelief.cpp.
References sim::State::Failed, getExpectedState(), KBElement::getInfoName(), sim::State::Succeed, and ExpectationElement::updateExpectation().
| void HardWiredMentalBelief::copyHardWiredMentalBelief | ( | HardWiredMentalBelief & | _hmb | ) |
Definition at line 29 of file HardWiredMentalBelief.cpp.
References ExpectationElement::copyExpectationElement(), KBElement::copyKBElement(), expected_state, and getExpectedState().
| int HardWiredMentalBelief::getExpectedState | ( | ) |
Definition at line 56 of file HardWiredMentalBelief.cpp.
References expected_state.
Referenced by checkForMatch(), and copyHardWiredMentalBelief().
| void HardWiredMentalBelief::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 34 of file HardWiredMentalBelief.cpp.
References expected_state, and KBElement::setInfoName().
| void HardWiredMentalBelief::retrieveHardWiredMentalBeliefFromFile | ( | std::ifstream & | ) |
Definition at line 62 of file HardWiredMentalBelief.cpp.
References SimulationContext::Branch_center, expected_state, g_sim, NoKB, r5pars_, ExpectationElement::retrieveExpectationElementFromFile(), KBElement::retrieveKBElementFromFile(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
| void HardWiredMentalBelief::saveHardWiredMentalBeliefToFile | ( | std::ofstream & | ) |
Definition at line 57 of file HardWiredMentalBelief.cpp.
References expected_state, ExpectationElement::saveExpectationElementToFile(), and KBElement::saveKBElementToFile().
|
inlineprivate |
Definition at line 42 of file HardWiredMentalBelief.h.
References expected_state.
| void HardWiredMentalBelief::setExpectedState | ( | int | n | ) |
Definition at line 55 of file HardWiredMentalBelief.cpp.
References expected_state.
|
friend |
Definition at line 39 of file HardWiredMentalBelief.h.
|
private |
Definition at line 36 of file HardWiredMentalBelief.h.
Referenced by copyHardWiredMentalBelief(), getExpectedState(), HardWiredMentalBelief(), readInfoFromFile(), retrieveHardWiredMentalBeliefFromFile(), saveHardWiredMentalBeliefToFile(), serialize(), and setExpectedState().