Generates random states and tests them, but also keeps count of how many it has tested. More...
#include <timeTest.h>
Public Member Functions | |
int | getCount () |
int | getIllegal () |
virtual PlannerType | getType () |
The type of this planner, for easier run-time check. | |
void | startPlanner () |
Start the loops. | |
TimeTester (Hand *h) | |
Protected Attributes | |
int | mCount |
int | mIllegalCount |
Private Member Functions | |
void | mainLoop () |
Calls a simulated annealing step and buffers the best solutions. |
Generates random states and tests them, but also keeps count of how many it has tested.
Definition at line 38 of file timeTest.h.
TimeTester::TimeTester | ( | Hand * | h | ) | [inline] |
Definition at line 45 of file timeTest.h.
int TimeTester::getCount | ( | ) | [inline] |
Definition at line 49 of file timeTest.h.
int TimeTester::getIllegal | ( | ) | [inline] |
Definition at line 50 of file timeTest.h.
virtual PlannerType TimeTester::getType | ( | ) | [inline, virtual] |
The type of this planner, for easier run-time check.
Reimplemented from SimAnnPlanner.
Definition at line 46 of file timeTest.h.
void TimeTester::mainLoop | ( | ) | [private, virtual] |
Calls a simulated annealing step and buffers the best solutions.
Reimplemented from SimAnnPlanner.
Reimplemented in MTTester.
Definition at line 44 of file timeTest.cpp.
void TimeTester::startPlanner | ( | ) | [virtual] |
Start the loops.
Reimplemented from EGPlanner.
Reimplemented in MTTester.
Definition at line 36 of file timeTest.cpp.
int TimeTester::mCount [protected] |
Definition at line 43 of file timeTest.h.
int TimeTester::mIllegalCount [protected] |
Definition at line 43 of file timeTest.h.