Assignment Search Framework
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
GoalTestFunction< state_t > Class Template Referenceabstract
Inheritance diagram for GoalTestFunction< state_t >:

Public Member Functions

 GoalTestFunction ()
 
virtual ~GoalTestFunction ()
 
virtual bool isGoal (const state_t &state) const =0
 

Detailed Description

template<class state_t>
class GoalTestFunction< state_t >

Abstract class for defining a goal test function.

Constructor & Destructor Documentation

template<class state_t >
GoalTestFunction< state_t >::GoalTestFunction ( )

Constructor for a abstract goal test class. Abstract constructor is empty.

template<class state_t >
GoalTestFunction< state_t >::~GoalTestFunction ( )
virtual

Destructor for the abstract goal test class. Abstract destructor is empty.

Member Function Documentation

template<class state_t>
virtual bool GoalTestFunction< state_t >::isGoal ( const state_t &  state) const
pure virtual

Performs the goal test on the given state.

Parameters
stateThe state to test.
Returns
If the given state is a goal state.

Implemented in SingleGoalTest< state_t >.


The documentation for this class was generated from the following file: