Class holding_pred_symbol

Inheritance Relationships

Base Type

Class Documentation

class holding_pred_symbol : public VAL::pred_symbol

An extension of the pred_symbol class, used by TIM to coordinate typed domain analysis. holding_pred_symbols are substituted in when parsing predicates in the domain and problem files.

Each holding_pred_symbol has one or more derived extended_pred_symbol objects - one for each combination of types and sub-types that can be passed to the predicate. Following the TIM analysis, these can be used to ascertain domain properties.

See also

extended_pred_symbol, see TIM::performTIMAnalysis

Public Types

typedef Preds::iterator PIt

An iterator through the set of extended_pred_symbol objects for predicates of this object’s type.

Public Functions

inline holding_pred_symbol(const string &nm)
inline void set_prop(proposition *p)
template<class TI>
inline extended_pred_symbol *find(pred_symbol *p, TI s, TI e)
inline void add(extended_pred_symbol *e)
inline virtual void visit(VisitController *v) const
inline void buildPropStore()
template<typename TI>
inline PropStore *buildPropStore(extended_pred_symbol *e, TI ai, TI bi)
inline PropStore *buildPropStore(extended_pred_symbol *e, const Types &tps, double t)
inline PIt pBegin()

Returns:

An iterator pointing to the start of the set of extended_pred_symbol objects built for the PDDL predicate represented by this object.

inline PIt pEnd()

Returns:

An iterator pointing to the end of the set of extended_pred_symbol objects built for the PDDL predicate represented by this object.