Class Instance

Class Documentation

class Instance

Public Functions

inline Instance(Domain &dom)
inline Instance(Domain &dom, const std::string &s)
inline virtual ~Instance()
inline void parse(const std::string &s)
inline std::string getDomainName(const std::string &s)
inline void parseDomain(Stringreader &f)
inline void parseObjects(Stringreader &f)
inline virtual void parseGround(Stringreader &f, GroundVec &v)
inline void parseInit(Stringreader &f)
inline virtual void parseGoal(Stringreader &f)
inline void parseMetric(Stringreader &f)
inline void addObject(const std::string &name, const std::string &type)
inline void addInit(const std::string &name, const StringVec &v = StringVec())
inline void addInit(const std::string &name, int value, const StringVec &v = StringVec())
inline void addInit(const std::string &name, double value, const StringVec &v = StringVec())
inline void addInit(TypeGround *g, const StringVec &v = StringVec())
inline void addGoal(const std::string &name, const StringVec &v = StringVec())
inline virtual std::ostream &print(std::ostream &stream) const

Public Members

Domain &d
std::string name
GroundVec init
GroundVec goal
bool metric

Friends

inline friend std::ostream &operator<<(std::ostream &os, const Instance &o)