MultiAgentDecisionProcess
|
PlanningUnitMADPDiscreteParameters stores parameters of PlanningUnitMADPDiscrete. More...
#include <PlanningUnitMADPDiscreteParameters.h>
Public Member Functions | |
bool | GetComputeIndividualActionHistories () const |
Are individual action histories generated or not. More... | |
bool | GetComputeIndividualActionObservationHistories () const |
Are individual action-observation histories generated or not. More... | |
bool | GetComputeIndividualObservationHistories () const |
Are individual observation histories generated or not. More... | |
bool | GetComputeJointActionHistories () const |
Are joint action histories generated or not. More... | |
bool | GetComputeJointActionObservationHistories () const |
Are joint action-observation histories generated or not. More... | |
bool | GetComputeJointBeliefs () const |
Are the joint beliefs cached or not. More... | |
bool | GetComputeJointObservationHistories () const |
Are joint observation histories generated or not. More... | |
bool | GetEventObservability () const |
Observable states or observable transitions. More... | |
bool | GetUseSparseJointBeliefs () const |
Are sparse beliefs used or not. More... | |
PlanningUnitMADPDiscreteParameters () | |
Default constructor. More... | |
void | Print () const |
Print out the parameters to cout. More... | |
void | SanityCheck () const |
Ensures no illegal combination of parameters has been set. More... | |
void | SetComputeAll (bool val) |
Switch on or off the generation of all histories. More... | |
void | SetComputeAllIndividualHistories (bool val) |
Switch on or off the generation of all individual histories. More... | |
void | SetComputeAllJointHistories (bool val) |
Switch on or off the generation of all joint histories. More... | |
void | SetComputeIndividualActionHistories (bool val) |
Switch on or off the generation of individual action histories. More... | |
void | SetComputeIndividualActionObservationHistories (bool val) |
Switch on or off the generation of individual action-observation histories. More... | |
void | SetComputeIndividualObservationHistories (bool val) |
Switch on or off the generation of individual observation histories. More... | |
void | SetComputeJointActionHistories (bool val) |
Switch on or off the generation of joint action histories. More... | |
void | SetComputeJointActionObservationHistories (bool val) |
Switch on or off the generation of joint action-observation histories. More... | |
void | SetComputeJointBeliefs (bool val) |
Switch on or off storing the joint beliefs. More... | |
void | SetComputeJointObservationHistories (bool val) |
Switch on or off the generation of joint observation histories. More... | |
void | SetEventObservability (bool val) |
Switch on or off the use of PS-dependent observation models. More... | |
void | SetUseSparseJointBeliefs (bool val) |
Switch on or off whether joint beliefs should be represented sparsely. More... | |
~PlanningUnitMADPDiscreteParameters () | |
Destructor. More... | |
Private Attributes | |
bool | _m_eventObservability |
Indicate whether the observation model is defined over (s',a,s) (an event-driven model) or the standard (s',a) More... | |
bool | _m_individualActionHistories |
Generate individual action histories or not. More... | |
bool | _m_individualActionObservationHistories |
Generate individual action-observation histories or not. More... | |
bool | _m_individualObservationHistories |
Generate individual observation histories or not. More... | |
bool | _m_jointActionHistories |
Generate joint action histories or not. More... | |
bool | _m_jointActionObservationHistories |
Whether or not joint action observation histories are generated and stored. More... | |
bool | _m_JointBeliefs |
Whether joint beliefs are cached. More... | |
bool | _m_jointObservationHistories |
Generate joint observation histories or not. More... | |
bool | _m_useSparseBeliefs |
Use sparse beliefs or the full representation. More... | |
PlanningUnitMADPDiscreteParameters stores parameters of PlanningUnitMADPDiscrete.
It controls which types of histories are generated when initializing the PlanningUnitMADPDiscrete. What to generate depends on the particular planning algorithm derived from it, for instance, some algorithms use joint beliefs, others don't (in which case there is no point in generating and storing them). This class also indicates whether joint beliefs should represented sparsely or not.
PlanningUnitMADPDiscreteParameters::PlanningUnitMADPDiscreteParameters | ( | ) |
Default constructor.
By default, all histories are generated, joint beliefs are cached and not represented sparsely.
PlanningUnitMADPDiscreteParameters::~PlanningUnitMADPDiscreteParameters | ( | ) |
Destructor.
|
inline |
Are individual action histories generated or not.
Referenced by PlanningUnitMADPDiscrete::GetSuccessorAHI(), PlanningUnitMADPDiscrete::GetTimeStepForAHI(), PlanningUnitMADPDiscrete::InitializeActionHistories(), and PlanningUnitMADPDiscrete::Print().
|
inline |
Are individual action-observation histories generated or not.
Referenced by PlanningUnitMADPDiscrete::GetSuccessorAOHI(), PlanningUnitMADPDiscrete::GetTimeStepForAOHI(), PlanningUnitMADPDiscrete::InitializeActionObservationHistories(), PlanningUnitMADPDiscrete::Print(), and PlanningUnitMADPDiscrete::PrintActionObservationHistories().
|
inline |
Are individual observation histories generated or not.
Referenced by PlanningUnitMADPDiscrete::GetObservationHistoryTree(), PlanningUnitMADPDiscrete::GetSuccessorOHI(), PlanningUnitMADPDiscrete::GetTimeStepForOHI(), PlanningUnitMADPDiscrete::InitializeObservationHistories(), PlanningUnitMADPDiscrete::Print(), and PlanningUnitMADPDiscrete::SoftPrintObservationHistory().
|
inline |
Are joint action histories generated or not.
Referenced by PlanningUnitMADPDiscrete::GetSuccessorJAHI(), PlanningUnitMADPDiscrete::GetTimeStepForJAHI(), PlanningUnitMADPDiscrete::InitializeJointActionHistories(), and PlanningUnitMADPDiscrete::Print().
|
inline |
Are joint action-observation histories generated or not.
Referenced by PlanningUnitMADPDiscrete::AreCachedJointToIndivIndices(), PlanningUnitMADPDiscrete::GetJAOHProbGivenPred(), PlanningUnitMADPDiscrete::GetJointActionObservationHistoryTree(), PlanningUnitMADPDiscrete::GetSuccessorJAOHI(), PlanningUnitMADPDiscrete::GetTimeStepForJAOHI(), PlanningUnitMADPDiscrete::InitializeJointActionObservationHistories(), and PlanningUnitMADPDiscrete::Print().
|
inline |
Are the joint beliefs cached or not.
Referenced by PlanningUnitMADPDiscrete::DeInitializeJointActionObservationHistories(), PlanningUnitMADPDiscrete::GetJAOHProbs(), PlanningUnitMADPDiscrete::GetJointBeliefInterface(), and PlanningUnitMADPDiscrete::InitializeJointActionObservationHistories().
|
inline |
Are joint observation histories generated or not.
Referenced by PlanningUnitMADPDiscrete::AreCachedJointToIndivIndices(), PlanningUnitMADPDiscrete::GetSuccessorJOHI(), PlanningUnitMADPDiscrete::GetTimeStepForJOHI(), PlanningUnitMADPDiscrete::InitializeJointObservationHistories(), and PlanningUnitMADPDiscrete::Print().
|
inline |
Observable states or observable transitions.
Referenced by AlphaVectorPlanning::BackProjectFull(), and AlphaVectorConstrainedPOMDP::BeliefBackupQ().
|
inline |
Are sparse beliefs used or not.
Referenced by GeneralizedMAAStarPlannerForDecPOMDPDiscrete::GeneralizedMAAStarPlannerForDecPOMDPDiscrete(), GeneralizedMAAStarPlannerForFactoredDecPOMDPDiscrete::GeneralizedMAAStarPlannerForFactoredDecPOMDPDiscrete(), and PlanningUnitMADPDiscrete::GetNewJointBeliefInterface().
void PlanningUnitMADPDiscreteParameters::Print | ( | ) | const |
Print out the parameters to cout.
Referenced by PlanningUnitMADPDiscrete::Print().
void PlanningUnitMADPDiscreteParameters::SanityCheck | ( | void | ) | const |
Ensures no illegal combination of parameters has been set.
Sanity check is called by the constructor of PlanningUnitMADPDiscrete.
The old procedure "Is called after each call to a Set function." made no sense, as it was not possible to do params.SetComputeJointActionHistories(false); params.SetComputeJointBeliefs(false); as it started complaining at the first call...
Referenced by PlanningUnitMADPDiscrete::PlanningUnitMADPDiscrete().
void PlanningUnitMADPDiscreteParameters::SetComputeAll | ( | bool | val | ) |
Switch on or off the generation of all histories.
Referenced by NullPlanner::NullPlanner(), NullPlannerFactored::NullPlannerFactored(), NullPlannerTOI::NullPlannerTOI(), and PlanningUnitMADPDiscrete::PlanningUnitMADPDiscrete().
void PlanningUnitMADPDiscreteParameters::SetComputeAllIndividualHistories | ( | bool | val | ) |
Switch on or off the generation of all individual histories.
void PlanningUnitMADPDiscreteParameters::SetComputeAllJointHistories | ( | bool | val | ) |
Switch on or off the generation of all joint histories.
|
inline |
Switch on or off the generation of individual action histories.
|
inline |
Switch on or off the generation of individual action-observation histories.
|
inline |
Switch on or off the generation of individual observation histories.
|
inline |
Switch on or off the generation of joint action histories.
|
inline |
Switch on or off the generation of joint action-observation histories.
|
inline |
Switch on or off storing the joint beliefs.
|
inline |
Switch on or off the generation of joint observation histories.
|
inline |
Switch on or off the use of PS-dependent observation models.
|
inline |
Switch on or off whether joint beliefs should be represented sparsely.
|
private |
Indicate whether the observation model is defined over (s',a,s) (an event-driven model) or the standard (s',a)
|
private |
Generate individual action histories or not.
|
private |
Generate individual action-observation histories or not.
|
private |
Generate individual observation histories or not.
|
private |
Generate joint action histories or not.
|
private |
Whether or not joint action observation histories are generated and stored.
If they are stored, also their (conditional) probabilities are cached.
|
private |
Whether joint beliefs are cached.
Only applicable when jointActionObservationHistories are generated.).
|
private |
Generate joint observation histories or not.
|
private |
Use sparse beliefs or the full representation.