Example of a TargetCondition.
#ifndef ODINAI_TARGET_CONDITION_H_
#define ODINAI_TARGET_CONDITION_H_
class TargetCondition
{
public:
TargetCondition(int target) : m_target(target) {}
int m_target;
template<class GraphType>
static bool IsTarget(const GraphType &graph, int nodeID)
{
return m_target == nodeID;
}
};
#endif