Package org.svvrl.goal.cmd
Class AbstractGameSolverInterface
java.lang.Object
org.svvrl.goal.cmd.DefaultCommandDescriptor
org.svvrl.goal.cmd.AbstractGameSolverInterface
- All Implemented Interfaces:
CommandConfigurator
,CommandDescriptor
,GameSolverExtension
,GameSolverInterface
public abstract class AbstractGameSolverInterface extends DefaultCommandDescriptor implements GameSolverInterface
Deprecated.
This class provides a default implementation of
GameSolverInterface
.
The initial values of the solver name and the help message are all empty
strings. The initial value of the provided game solver is null.- Author:
- Ming-Hsien Tsai
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
description
Deprecated.The description of this interface.protected GameSolver<?>
solver
Deprecated.The provided game solver. -
Constructor Summary
Constructors Constructor Description AbstractGameSolverInterface()
Deprecated.Constructs this extension. -
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
Deprecated.Returns a simple description of the game solver provided by this interface.GameSolver<?>
getSolver()
Deprecated.Returns the game solver provided by this interface.void
setDescription(java.lang.String s)
Deprecated.Sets the simple description of the game solver provided by this interface.void
setSolver(GameSolver<?> solver)
Deprecated.Sets the game solver provided by this interface.Methods inherited from class org.svvrl.goal.cmd.DefaultCommandDescriptor
getFullName, getHelp, getName, setFullName, setHelp, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.svvrl.goal.cmd.CommandDescriptor
getFullName, getHelp, getName, setFullName, setHelp, setName
-
Field Details
-
solver
Deprecated.The provided game solver. -
description
protected java.lang.String descriptionDeprecated.The description of this interface.
-
-
Constructor Details
-
AbstractGameSolverInterface
public AbstractGameSolverInterface()Deprecated.Constructs this extension.
-
-
Method Details
-
getSolver
Deprecated.Description copied from interface:GameSolverExtension
Returns the game solver provided by this interface.- Specified by:
getSolver
in interfaceGameSolverExtension
- Returns:
- the game solver provided by this interface.
-
setSolver
Deprecated.Description copied from interface:GameSolverExtension
Sets the game solver provided by this interface.- Specified by:
setSolver
in interfaceGameSolverExtension
- Parameters:
solver
- the game solver provided by this interface
-
getDescription
public java.lang.String getDescription()Deprecated.Description copied from interface:GameSolverInterface
Returns a simple description of the game solver provided by this interface. The simple description will be used in the help message ofSolveExtension
.- Specified by:
getDescription
in interfaceGameSolverInterface
- Returns:
- a simple description of the game solver provided by this interface
-
setDescription
public void setDescription(java.lang.String s)Deprecated.Description copied from interface:GameSolverInterface
Sets the simple description of the game solver provided by this interface. The simple description will be used in the help message ofSolveExtension
.- Specified by:
setDescription
in interfaceGameSolverInterface
- Parameters:
s
- a simple description of the game solver provided by this interface
-