Package | Description |
---|---|
org.licas.ai_solver |
Problem-solving packages, this includes base factory classes, categorised, that can be extended.
|
org.licas.ai_solver.central.grid |
Implementation of the new hyper-heuristic
matching framework that prefers
similarity matches over maximising outright, but used as part of a genetic-algorithm solution. |
org.licas.ai_solver.def |
Problem-solving interface, to help to define the class hierarchy.
|
org.licas.ai_solver.eval |
Problem-solving evaluations, to initialise or start the process and perform some actual
default evaluation types, including generic object indentification and then related evaluation service.
|
org.licas.ai_solver.mediator |
The problem-solving tests are mediated from the classes of this and sub-packages,
as the central location to send/receive messages, initialise values, etc.
|
org.licas.ai_solver.mediator.problem |
Problem specifications deal more with defining the problem itself and managing solution
execution sequences.
|
org.licas.ai_solver.search |
Implementation of some basic search frameworks.
|
org.licas.ai_solver.spec.test |
Test specifications can store intermediary value sets that then get copied to the problem
specifications, but also other values, relating to how the test process runs, so all
of the specification is initially stored here.
|
org.licas.ai_solver.test |
The problem-solving tests are set-up from the classes of this package that typically
read and create test specifications first and translate those over to the problem specifications,
before executing the tests.
|
Modifier and Type | Method and Description |
---|---|
TestSpec |
DefaultSolverSpecs.getTestSpec(java.lang.String solverType)
Get the test specification object related to the current problem type.
|
abstract TestSpec |
SolverSpecs.getTestSpec(java.lang.String solverType)
Get the test specification object related to the current problem type.
|
Constructor and Description |
---|
GeneticGrid(TestSpec testSpec)
Create a new instance of GeneticGrid.
|
GeneticGrid(TestSpec testSpec,
boolean thisLib)
Create a new instance of GeneticGrid.
|
Modifier and Type | Method and Description |
---|---|
void |
ProblemMediatorDef.copyToConfig(TestSpec testSpec)
Copy any values specific to the problem solver classes to the related specific
structures, from the more general list of variables from the Problem Spec itself.
|
Result |
ProblemMediatorDef.solve(TestSpec testSpec)
Optimise the solutions using the appropriate framework.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Evaluator.evaluateSolutions(TestSpec testSpec,
ProblemMediator probMediator)
Run a set of tests based on the test specification.
|
boolean |
GridEvaluator.evaluateSolutions(TestSpec testSpec,
ProblemMediator probMediator)
Run a set of tests based on the test specification.
|
boolean |
KnnEvaluator.evaluateSolutions(TestSpec testSpec,
ProblemMediator probMediator)
Run a set of tests based on the test specification.
|
boolean |
LinkEvaluator.evaluateSolutions(TestSpec testSpec,
ProblemMediator probMediator)
Run a set of tests based on the test specification.
|
boolean |
SearchEvaluator.evaluateSolutions(TestSpec testSpec,
ProblemMediator probMediator)
Run a set of tests based on the test specification.
|
boolean |
SomEvaluator.evaluateSolutions(TestSpec testSpec,
ProblemMediator probMediator)
Run a set of tests based on the test specification.
|
protected void |
Evaluator.evaluateStats(TestSpec testSpec,
ProblemMediator probMediator)
Process the returned solution results, for some stat values.
|
abstract void |
Evaluator.initialiseMediator(TestSpec testSpec,
ProblemMediator probMediator)
Create or initialise the solution and problem values from the problem specification.
|
void |
GridEvaluator.initialiseMediator(TestSpec testSpec,
ProblemMediator probMediator)
Create or initialise the original problem and solution values.
|
void |
KnnEvaluator.initialiseMediator(TestSpec testSpec,
ProblemMediator proMediator)
Create or initialise the original problem and solution values.
|
void |
LinkEvaluator.initialiseMediator(TestSpec testSpec,
ProblemMediator probMediator)
Create or initialise the original problem and solution values.
|
void |
SearchEvaluator.initialiseMediator(TestSpec testSpec,
ProblemMediator probMediator)
Create or initialise the original problem and solution values.
|
void |
SomEvaluator.initialiseMediator(TestSpec testSpec,
ProblemMediator proMediator)
Create or initialise the original problem and solution values.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap |
ProblemSolverMediator.getServicesData(TestSpec testSpec)
Get the dataset elements from all running services.
|
java.util.ArrayList |
ProblemSolverMediator.getServicesInfo(TestSpec testSpec,
ProblemMediator probMediator)
Retrieve the information from each information source in XML format and create
a data object by parsing it and adding it to a
MetricValue object. |
void |
ProblemSolverMediator.replyToServices(TestSpec testSpec,
org.licas_xml.abs.Element replyXml)
Send the solution reply to any services on the
serviceNames list. |
Modifier and Type | Method and Description |
---|---|
void |
GridProblemMediator.copyToConfig(TestSpec testSpec)
Copy any values specific to the problem solver classes to the related specific
structures, from the more general list of variables from the Problem Spec itself.
|
void |
KnnProblemMediator.copyToConfig(TestSpec testSpec)
Copy any related values to the knn config structure.
|
void |
ProblemMediator.copyToConfig(TestSpec testSpec)
Copy any values specific to the problem solver classes to the related specific
structures, from the more general list of variables from the Problem Spec itself.
|
void |
SomProblemMediator.copyToConfig(TestSpec testSpec)
Copy any related values to the som config structure.
|
protected void |
KnnProblemMediator.createKnnData(TestSpec testSpec,
java.lang.String separator)
Create a new knn with the problem datasets.
|
protected void |
SomProblemMediator.createSomData(TestSpec testSpec,
java.lang.String separator)
Create a new som with the problem datasets.
|
protected void |
CentralProblemMediator.createStoreData(TestSpec testSpec)
Create a new set of problem datasets.
|
void |
CentralProblemMediator.firstSolutionsAndProblems(TestSpec testSpec)
Generate a number of initial problem solutions based on the test spec.
|
protected java.util.ArrayList |
CentralProblemMediator.getProblemsList(TestSpec testSpec)
Retrieve or generate the problems list from data files or services.
|
Result |
GeneticGridProblemMediator.solve(TestSpec testSpec)
Optimise the solutions using the appropriate framework.
|
Result |
KnnProblemMediator.solve(TestSpec testSpec)
Optimise the solutions using the appropriate framework.
|
Result |
LinkProblemMediator.solve(TestSpec testSpec)
Optimise the solutions using the appropriate framework.
|
Result |
SearchProblemMediator.solve(TestSpec testSpec)
Optimise the solutions using the appropriate framework.
|
Result |
SingleGridProblemMediator.solve(TestSpec testSpec)
Optimise the solutions using the appropriate framework.
|
Result |
SomProblemMediator.solve(TestSpec testSpec)
Optimise the solutions using the appropriate framework.
|
protected void |
GridProblemMediator.sortProblems(TestSpec testSpec,
boolean reOrder)
Try to (re)sort the problem list after making appropriate changes.
|
protected void |
SearchProblemMediator.sortProblems(TestSpec testSpec,
java.lang.String separator)
Try to (re)sort the problem list after making appropriate changes.
|
protected ClusterResult |
LinkProblemMediator.toClusters(TestSpec testSpec)
Ask each service in turn who it is clustered with.
|
Constructor and Description |
---|
HillClimbing(TestSpec testSpec)
Create a new instance of HillClimbing.
|
SearchFramework(TestSpec testSpec)
Create a new instance of SearchFramework.
|
Modifier and Type | Class and Description |
---|---|
class |
GridTestSpec
This test specification is specific for the Hyper-heuristic-related tests.
|
Modifier and Type | Field and Description |
---|---|
TestSpec |
RunTests.testSpec
The test specification
|
Modifier and Type | Method and Description |
---|---|
boolean |
RunTests.configureTest(TestSpec thisTestSpec)
Configure the test objects for executing a test.
|
boolean |
TestDef.configureTest(TestSpec thisTestSpec)
Set the environment up for running a test.
|