Class RPGBuilder::FakeTILAction

Nested Relationships

This class is a nested type of Class RPGBuilder.

Class Documentation

class FakeTILAction

Class to represent the ‘action’ whose application corresponds to a timed initial literal.

Public Functions

inline void mergeIn(const LiteralSet &adds, const LiteralSet &dels)

Add the specified add and delete effects to the timed initial literal action. Is used when multiple TILs are found at a given time-stamp.

Parameters:
  • adds – Add effects to include in this TIL action

  • dels – Delete effects to include in this TIL action

inline FakeTILAction(const double &dur, const LiteralSet &adds, const LiteralSet &dels)

Constructor for an action corresponding to a Timed Initial Literal.

Parameters:
  • dur – The time at which the timed initial occurs

  • adds – The facts added at time dur

  • dels – The facts deleted at time dur

Public Members

const double duration

The time-stamp of the timed initial literal

list<Literal*> addEffects

The facts added at the specified time

list<Literal*> delEffects

The facts deleted at the specified time