Package jline.solvers
Class Solver
java.lang.Object
jline.solvers.Solver
- Direct Known Subclasses:
EnsembleSolver
,NetworkSolver
,SolverLQNS
-
Field Summary
Modifier and TypeFieldDescriptionboolean
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
Solver
(String name, SolverOptions options) protected
Solver
(Model model, String name, SolverOptions options) -
Method Summary
Modifier and TypeMethodDescriptionstatic SolverOptions
getName()
boolean
boolean
static boolean
isValidOption
(String optName) static SolverOptions
parseOptions
(Object... varargin) static SolverOptions
parseOptions
(SolverOptions options, Object... varargin) void
reset()
void
resetRandomGeneratorSeed
(long seed) protected abstract void
void
runAnalyzerChecks
(SolverOptions options) void
setChecks
(boolean bool) void
setOptions
(SolverOptions options) static boolean
-
Field Details
-
model
-
name
-
options
-
result
-
enableChecks
public boolean enableChecks -
random
-
-
Constructor Details
-
Solver
-
Solver
-
Solver
-
-
Method Details
-
supports
-
isValidOption
-
listValidOptions
-
defaultOptions
-
parseOptions
- Throws:
IllegalArgumentException
-
parseOptions
public static SolverOptions parseOptions(SolverOptions options, Object... varargin) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
runAnalyzer
protected abstract void runAnalyzer() throws IllegalAccessException, ParserConfigurationException, IOException -
setChecks
public void setChecks(boolean bool) -
hasResults
public boolean hasResults() -
reset
public void reset() -
resetRandomGeneratorSeed
public void resetRandomGeneratorSeed(long seed) -
runAnalyzerChecks
-
getName
-
getResults
-
getOptions
-
setOptions
-
isJavaAvailable
public boolean isJavaAvailable()
-