|
| def | __init__ (self, theSol, thePuzzle, agent1=None, agent2=None) |
| |
| def | setMatch (self, match) |
| |
| def | takeTurn (self, thePlan=None, defaultPlan='order') |
| |
| def | __init__ (self, theSol, thePuzzle=None) |
| |
| def | planGreedyTSP (self) |
| |
| def | planNew (self) |
| |
| def | planOrdered (self, occlusionList=[], STEP_WISE=True, COMPLETE_PLAN=False, verbose=False) |
| |
| def | setCurrBoard (self, theBoard) |
| |
| def | setMatch (self, match, rotation_match=None) |
| |
| def | takeTurn (self, thePlan=None, defaultPlan='order', occlusionList=[], STEP_WISE=True, COMPLETE_PLAN=False, SAVED_PLAN=True) |
| |
| def | takeTurn (self, thePlan=None) |
| |
◆ __init__()
| def __init__ |
( |
|
self, |
|
|
|
theSol, |
|
|
|
thePuzzle, |
|
|
|
agent1 = None, |
|
|
|
agent2 = None |
|
) |
| |
@brief Derived from the simple puzzle solver, it also takes in two
solver build functions to seed with information. Defaults
to simple solvers if none given.
Args:
theSol: The solution board.
thePuzzle: The actual board.
agent1: The agent 1.
agent2: The agent 2.
◆ setMatch()
| def setMatch |
( |
|
self, |
|
|
|
match |
|
) |
| |
@brief Set up the match.
Args:
match: The match between the id in the measured board and the solution board.
◆ takeTurn()
| def takeTurn |
( |
|
self, |
|
|
|
thePlan = None, |
|
|
|
defaultPlan = 'order' |
|
) |
| |
Args:
thePlan: A specific desired action plan.
defaultPlan: The default plan strategy.
Returns:
plan: The action plan.
◆ agents
◆ iMove
The documentation for this class was generated from the following file:
- /local/source/python/puzzle_solver/puzzle/solver/twoAgent.py