22 #ifndef PSI_VERSION_1_MODEL_H
23 #define PSI_VERSION_1_MODEL_H
28 #include <boost/shared_ptr.hpp>
29 #include <boost/bimap.hpp>
30 #include <boost/bimap/list_of.hpp>
31 #include <boost/assign.hpp>
40 #ifdef KJB_HAVE_UA_CARTWHEEL
41 #include <Control/SimulationInterface.h>
42 #include <Control/ExtendedAction.h>
43 #include <Control/WrapperAction.h>
44 #include <Control/StartState.h>
45 #include <Control/BoxState.h>
55 #ifdef KJB_HAVE_UA_CARTWHEEL
56 typedef boost::shared_ptr<CartWheel::ExtendedAction> Ex_action_ptr;
59 typedef boost::shared_ptr<CartWheel::SimulationInterface> InterfacePtr;
74 double get(
size_t dimension)
const;
76 void set(
size_t dimension,
double value);
85 #ifdef KJB_HAVE_UA_CARTWHEEL
88 std::vector<CartWheel::StartStatePtr> to_cw_start_state(
const Model&
m);
96 std::vector<std::vector<CartWheel::ExtendedActionPtr> > to_cw_actions(
const Model&
m);
101 const std::vector<std::vector<std::vector<Action> > >&
to_actions(
const Model&
m);
Model()
Definition: psi_model.h:64
const std::vector< Weighted_box > to_boxes(const Model &m)
std::ostream & operator<<(std::ostream &ost, const Action &action)
serialize an action
Definition: psi_action.cpp:333
std::istream & operator>>(std::istream &ist, Action &action)
unserialize an action
Definition: psi_action.cpp:346
Unit_type
Definition: psi_units.h:30
const std::vector< std::vector< std::vector< Action > > > & to_actions(const Model &m)
Construct cartwheel actions from.
Definition: psi_model.cpp:693
Unit_type get_units(size_t dimension) const
Definition: psi_model.cpp:80
size_t size() const
Definition: psi_model.cpp:211
std::vector< std::vector< std::vector< Action > > > entities_actions
Definition: psi_model.h:70
void set(size_t dimension, double value)
Definition: psi_model.cpp:165
double model_prior(const Model &m)
Definition: psi_model.cpp:699
std::vector< std::vector< Start_state > > start_state
Definition: psi_model.h:69
Definition: tracking_entity.h:43
const std::vector< std::vector< Start_state > > & to_start_state(const Model &m)
Definition: psi_model.cpp:610
for m
Definition: APPgetLargeConnectedEdges.m:64
Support for error handling exception classes in libKJB.
Definition for the Vector class, a thin wrapper on the KJB Vector struct and its related functionalit...
Definition: psi_model.h:62