|
ADS-IDAC Engine 5.0.0
|
#include <KBExpectedParameterValueUnit.h>
Public Member Functions | |
| KBExpectedParameterValueUnit () | |
| virtual | ~KBExpectedParameterValueUnit () |
| void | setLogicalRelation (int) |
| void | setExpectedValue1 (double) |
| void | setExpectedValue2 (double) |
| void | readInfoFromFile (std::ifstream &) |
| int | getLogicalRelation () |
| double | getExpectedValue1 () |
| double | getExpectedValue2 () |
| int | checkForMatch (std::string, double, int) |
| void | copyKBExpectedParameterValueUnit (KBExpectedParameterValueUnit &) |
| void | saveKBExpectedParameterValueUnitToFile (std::ofstream &) |
| void | retrieveKBExpectedParameterValueUnitFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
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) |
Public Attributes | |
| polynomial * | poly1_pt |
| polynomial * | poly2_pt |
| std::string | value2_poly_name |
| std::string | value1_poly_name |
| bool | value2_mode |
| bool | value1_mode |
Public Attributes inherited from KBElement | |
| std::string | info_name |
Private Attributes | |
| int | logical_relation |
| double | expected_value1 |
| double | expected_value2 |
Friends | |
| class | boost::serialization::access |
Definition at line 20 of file KBExpectedParameterValueUnit.h.
| KBExpectedParameterValueUnit::KBExpectedParameterValueUnit | ( | ) |
Definition at line 20 of file KBExpectedParameterValueUnit.cpp.
References expected_value1, expected_value2, logical_relation, sim::None, sim::Comm::ParameterValue, and ExpectationElement::setTypeOfExpectation().
|
virtual |
Definition at line 28 of file KBExpectedParameterValueUnit.cpp.
| int KBExpectedParameterValueUnit::checkForMatch | ( | std::string | , |
| double | , | ||
| int | |||
| ) |
Definition at line 65 of file KBExpectedParameterValueUnit.cpp.
References AdsSimErr, SimulationContext::All_polynomial, sim::Compare::Between, BiResult::bool_result, SimulationContext::Branch_center, CalculationAid::checkExistanceOfPolynomial(), sim::Compare::EQ, expected_value1, expected_value2, sim::State::Failed, BiResult::float_result, g_sim, sim::Compare::GE, polynomial::GetCurveValue(), KBElement::getInfoName(), sim::Compare::GT, sim::Compare::LE, logical_relation, sim::Compare::LT, poly1_pt, poly2_pt, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), sim::State::Succeed, ExpectationElement::updateExpectation(), value1_mode, value1_poly_name, value2_mode, and value2_poly_name.
| void KBExpectedParameterValueUnit::copyKBExpectedParameterValueUnit | ( | KBExpectedParameterValueUnit & | _epp | ) |
Definition at line 162 of file KBExpectedParameterValueUnit.cpp.
References ExpectationElement::copyExpectationElement(), KBElement::copyKBElement(), expected_value1, expected_value2, getExpectedValue1(), getExpectedValue2(), getLogicalRelation(), logical_relation, poly1_pt, poly2_pt, value1_mode, value1_poly_name, value2_mode, and value2_poly_name.
Referenced by ExpectationORUnit::assessExpectation(), DecisionExpectedParameterValue::copyDecisionExpectedParameterValue(), KBExpectedParameterTrendUnit::copyKBExpectedParameterTrendUnit(), and ProcedureExpectedParameterValueUnit::copyProcedureExpectedParameterValueUnit().
| double KBExpectedParameterValueUnit::getExpectedValue1 | ( | ) |
Definition at line 63 of file KBExpectedParameterValueUnit.cpp.
References expected_value1.
Referenced by InfoChunk::checkWhetherExpectedParameterValueMatchObservation(), copyKBExpectedParameterValueUnit(), BranchExpectedParameterTrend::saveInfoToFile(), BranchExpectedParameterValue::saveInfoToFile(), BranchExpectedParameterTrend::translateMessage(), and BranchExpectedParameterValue::translateMessage().
| double KBExpectedParameterValueUnit::getExpectedValue2 | ( | ) |
Definition at line 64 of file KBExpectedParameterValueUnit.cpp.
References expected_value2.
Referenced by InfoChunk::checkWhetherExpectedParameterValueMatchObservation(), copyKBExpectedParameterValueUnit(), BranchExpectedParameterTrend::saveInfoToFile(), BranchExpectedParameterValue::saveInfoToFile(), BranchExpectedParameterTrend::translateMessage(), and BranchExpectedParameterValue::translateMessage().
| int KBExpectedParameterValueUnit::getLogicalRelation | ( | ) |
Definition at line 62 of file KBExpectedParameterValueUnit.cpp.
References logical_relation.
Referenced by InfoChunk::checkWhetherExpectedParameterValueMatchObservation(), copyKBExpectedParameterValueUnit(), BranchExpectedParameterTrend::saveInfoToFile(), BranchExpectedParameterValue::saveInfoToFile(), BranchExpectedParameterTrend::translateMessage(), and BranchExpectedParameterValue::translateMessage().
| void KBExpectedParameterValueUnit::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 35 of file KBExpectedParameterValueUnit.cpp.
References expected_value1, expected_value2, logical_relation, poly1_pt, poly2_pt, KBElement::readInfoFromFile(), value1_mode, value1_poly_name, value2_mode, and value2_poly_name.
Referenced by KBExpectedParameterTrendUnit::readInfoFromFile().
| void KBExpectedParameterValueUnit::retrieveKBExpectedParameterValueUnitFromFile | ( | std::ifstream & | ) |
Definition at line 180 of file KBExpectedParameterValueUnit.cpp.
References SimulationContext::Branch_center, expected_value1, expected_value2, g_sim, logical_relation, NoKB, r5pars_, ExpectationElement::retrieveExpectationElementFromFile(), KBElement::retrieveKBElementFromFile(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
Referenced by DecisionExpectedParameterValue::retrieveDecisionExpectedParameterValueFromFile(), KBExpectedParameterTrendUnit::retrieveKBExpectedParameterTrendUnitFromFile(), and ProcedureExpectedParameterValueUnit::retrieveProcedureExpectedParameterValueUnitFromFile().
| void KBExpectedParameterValueUnit::saveKBExpectedParameterValueUnitToFile | ( | std::ofstream & | ) |
Definition at line 175 of file KBExpectedParameterValueUnit.cpp.
References expected_value1, expected_value2, logical_relation, ExpectationElement::saveExpectationElementToFile(), and KBElement::saveKBElementToFile().
Referenced by DecisionExpectedParameterValue::saveDecisionExpectedParameterValueToFile(), KBExpectedParameterTrendUnit::saveKBExpectedParameterTrendUnitToFile(), and ProcedureExpectedParameterValueUnit::saveProcedureExpectedParameterValueUnitToFile().
|
inline |
Definition at line 45 of file KBExpectedParameterValueUnit.h.
References expected_value1, expected_value2, logical_relation, poly1_pt, poly2_pt, value1_mode, value1_poly_name, value2_mode, and value2_poly_name.
| void KBExpectedParameterValueUnit::setExpectedValue1 | ( | double | x | ) |
Definition at line 33 of file KBExpectedParameterValueUnit.cpp.
References expected_value1.
Referenced by ProcedureExpectedParameterTrendUnit::readInfoFromFile(), ProcedureExpectedParameterValueUnit::readInfoFromFile(), ProcedureExpectedParameterTrendUnit::readInfoFromFileWithoutInfoName(), and ProcedureExpectedParameterValueUnit::readInfoFromFileWithoutInfoName().
| void KBExpectedParameterValueUnit::setExpectedValue2 | ( | double | x | ) |
Definition at line 34 of file KBExpectedParameterValueUnit.cpp.
References expected_value2.
Referenced by ProcedureExpectedParameterTrendUnit::readInfoFromFile(), ProcedureExpectedParameterValueUnit::readInfoFromFile(), ProcedureExpectedParameterTrendUnit::readInfoFromFileWithoutInfoName(), and ProcedureExpectedParameterValueUnit::readInfoFromFileWithoutInfoName().
| void KBExpectedParameterValueUnit::setLogicalRelation | ( | int | n | ) |
Definition at line 32 of file KBExpectedParameterValueUnit.cpp.
References logical_relation.
Referenced by ProcedureExpectedParameterTrendUnit::readInfoFromFile(), ProcedureExpectedParameterValueUnit::readInfoFromFile(), ProcedureExpectedParameterTrendUnit::readInfoFromFileWithoutInfoName(), and ProcedureExpectedParameterValueUnit::readInfoFromFileWithoutInfoName().
|
friend |
Definition at line 43 of file KBExpectedParameterValueUnit.h.
|
private |
Definition at line 61 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), getExpectedValue1(), KBExpectedParameterValueUnit(), readInfoFromFile(), retrieveKBExpectedParameterValueUnitFromFile(), saveKBExpectedParameterValueUnitToFile(), serialize(), and setExpectedValue1().
|
private |
Definition at line 62 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), getExpectedValue2(), KBExpectedParameterValueUnit(), readInfoFromFile(), retrieveKBExpectedParameterValueUnitFromFile(), saveKBExpectedParameterValueUnitToFile(), serialize(), and setExpectedValue2().
|
private |
Definition at line 60 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), getLogicalRelation(), KBExpectedParameterValueUnit(), readInfoFromFile(), ProcedureExpectedParameterTrendUnit::readInfoFromFile(), ProcedureExpectedParameterValueUnit::readInfoFromFile(), ProcedureExpectedParameterTrendUnit::readInfoFromFileWithoutInfoName(), ProcedureExpectedParameterValueUnit::readInfoFromFileWithoutInfoName(), retrieveKBExpectedParameterValueUnitFromFile(), saveKBExpectedParameterValueUnitToFile(), serialize(), and setLogicalRelation().
| polynomial* KBExpectedParameterValueUnit::poly1_pt |
Definition at line 23 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), readInfoFromFile(), and serialize().
| polynomial* KBExpectedParameterValueUnit::poly2_pt |
Definition at line 24 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), readInfoFromFile(), and serialize().
| bool KBExpectedParameterValueUnit::value1_mode |
Definition at line 28 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), readInfoFromFile(), and serialize().
| std::string KBExpectedParameterValueUnit::value1_poly_name |
Definition at line 26 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), readInfoFromFile(), and serialize().
| bool KBExpectedParameterValueUnit::value2_mode |
Definition at line 27 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), readInfoFromFile(), and serialize().
| std::string KBExpectedParameterValueUnit::value2_poly_name |
Definition at line 25 of file KBExpectedParameterValueUnit.h.
Referenced by checkForMatch(), copyKBExpectedParameterValueUnit(), readInfoFromFile(), and serialize().