Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ void LandmarkFactoryReasonableOrdersHPS::insert_reasonable_orderings(
*/
void LandmarkFactoryReasonableOrdersHPS::approximate_reasonable_orderings(
const TaskProxy &task_proxy) {
State initial_state = task_proxy.get_initial_state();
for (const auto &node : *landmark_graph) {
const Landmark &landmark = node->get_landmark();
if (landmark.type == DISJUNCTIVE) {
Expand Down
17 changes: 2 additions & 15 deletions src/search/task_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,9 @@
#include <string>
#include <vector>

class AxiomsProxy;
class ConditionsProxy;
class EffectProxy;
class EffectConditionsProxy;
class EffectsProxy;
class FactProxy;
class FactsProxy;
class GoalsProxy;
class OperatorProxy;
class OperatorsProxy;
class PreconditionsProxy;
class State;
class StateRegistry;
class TaskProxy;
class VariableProxy;
class VariablesProxy;

namespace causal_graph {
class CausalGraph;
Expand Down Expand Up @@ -556,8 +543,6 @@ class GoalsProxy : public ConditionsProxy {
}
};

bool does_fire(const EffectProxy &effect, const State &state);

class State {
/*
TODO: We want to try out two things:
Expand Down Expand Up @@ -640,6 +625,8 @@ class State {
State get_unregistered_successor(const OperatorProxy &op) const;
};

bool does_fire(const EffectProxy &effect, const State &state);

namespace utils {
inline void feed(HashState &hash_state, const State &state) {
/*
Expand Down
Loading