Class sdm::LPBase
Class List > sdm > LPBase
#include <lp_problem.hpp>
Inherits the following classes: sdm::LPInterface
Inherited by the following classes: sdm::DecentralizedLP
Public Functions
Type | Name |
---|---|
LPBase () | |
LPBase (const std::shared_ptr< SolvableByHSVI > &) | |
virtual Pair< std::shared_ptr< Action >, double > | createLP (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & occupancy_state, number t) Main function who is used to create the Linear program. |
~LPBase () |
Public Functions inherited from sdm::LPInterface
See sdm::LPInterface
Type | Name |
---|---|
virtual void | createConstraints (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & occupancy_state, IloEnv & env, IloModel & model, IloRangeArray & con, IloNumVarArray & var, number & index, number t) = 0 Create the constraints of the LP. |
virtual Pair< std::shared_ptr< Action >, double > | createLP (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & occupancy_state, number t) = 0 Main function who is used to create the Linear program. |
virtual void | createObjectiveFunction (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & occupancy_state, IloNumVarArray & var, IloObjective & obj, number t) = 0 Create a Objective Constraint of the LP. |
virtual void | createVariables (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & occupancy_state, IloEnv & env, IloNumVarArray & var, number & index, number t) = 0 Create the variable which will be used to resolve the LP. |
virtual std::shared_ptr< Action > | getVariableResult (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & occupancy_state, const IloCplex & cplex, const IloNumVarArray & var, number t) = 0 Get the result of the variable created. |
Protected Attributes
Type | Name |
---|---|
std::shared_ptr< BeliefInterface > | tmp_representation The temporary one-stage value function represention. |
std::shared_ptr< SolvableByHSVI > | world_ |
Public Functions Documentation
function LPBase [1/2]
sdm::LPBase::LPBase ()
function LPBase [2/2]
sdm::LPBase::LPBase (
const std::shared_ptr< SolvableByHSVI > &
)
function createLP
virtual Pair < std::shared_ptr< Action >, double > sdm::LPBase::createLP (
const std::shared_ptr< ValueFunction > & vf,
const std::shared_ptr< State > & occupancy_state,
number t
)
Parameters:
occupancy_state
t
Returns:
Pair<std::shared_ptr<Action>,double>
Implements sdm::LPInterface::createLP
function ~LPBase
sdm::LPBase::~LPBase ()
Protected Attributes Documentation
variable tmp_representation
std::shared_ptr<BeliefInterface> sdm::LPBase::tmp_representation;
variable world_
std::shared_ptr<SolvableByHSVI> sdm::LPBase::world_;
The documentation for this class was generated from the following file src/sdm/utils/linear_programming/lp_problem.hpp