28 if (ws.
vars_.at(precond.first) != precond.second) {
32 catch (
const std::out_of_range&) {
41 for (
const auto& effect :
effects_) {
operations preconditions_
virtual bool checkImplDependentCondition() const
bool eligibleFor(const goap::WorldState &ws) const
WorldState actOn(const WorldState &ws) const
int cost() const noexcept
const string & name() const noexcept
void setVariable(const int var_id, const bool value)
hashMap< I32, bool > vars_