|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nz.ac.waikato.mcennis.rat.graph.model.ModelShell nz.ac.waikato.mcennis.rat.scheduler.GraphCrossValidationScheduler
public class GraphCrossValidationScheduler
Field Summary |
---|
Fields inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell |
---|
listener |
Fields inherited from interface nz.ac.waikato.mcennis.rat.scheduler.Scheduler |
---|
ALGORITHM_DONE, DONE, INITIALIZE, SET_ALGORITHM, SET_ALGORITHM_COUNT, SET_ALGORITHM_PROGRESS, SET_GRAPH_COUNT, SET_GRAPH_PROGRESS, START |
Constructor Summary | |
---|---|
GraphCrossValidationScheduler()
|
Method Summary | |
---|---|
void |
cancel()
Cancel execution and return immediately |
Graph |
get()
Return the graph produced and altered by the data aquisition and algorithms. |
Properties |
getParameter()
Return a machine-readable description of the parameters this scheduler has. |
void |
init(Properties props)
Initiliaize this scheduler with the following parameters. |
void |
load(Algorithm algorithm,
GraphQuery graphQuery)
set an algorithm to be executed. |
void |
load(DataAquisition loader)
set the data-aquisition component to be executed |
void |
load(java.io.InputStream config)
load this scheduler using the given XML file. |
Scheduler |
prototype()
|
void |
publishChange(Model m,
int type,
int argument)
Recieve and update of the given type. |
void |
set(Graph g)
Set the graph that will serve as the data structure to be executed against |
void |
start()
Begin execution |
Methods inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell |
---|
addListener, fireChange |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.model.Model |
---|
addListener |
Constructor Detail |
---|
public GraphCrossValidationScheduler()
Method Detail |
---|
public void load(DataAquisition loader)
Scheduler
load
in interface Scheduler
loader
- acquisition method.public void load(Algorithm algorithm, GraphQuery graphQuery)
Scheduler
load
in interface Scheduler
algorithm
- array of algorithms to execute against the graphpublic void set(Graph g)
Scheduler
set
in interface Scheduler
g
- graph that will be the data structurepublic Graph get()
Scheduler
get
in interface Scheduler
public void load(java.io.InputStream config) throws java.io.IOException, java.lang.Exception
Scheduler
load
in interface Scheduler
java.io.IOException
java.lang.Exception
public void start()
Scheduler
start
in interface Scheduler
public void cancel()
Scheduler
cancel
in interface Scheduler
public void init(Properties props)
Scheduler
init
in interface Scheduler
public Properties getParameter()
Scheduler
getParameter
in interface Scheduler
public Scheduler prototype()
prototype
in interface Scheduler
public void publishChange(Model m, int type, int argument)
Listener
publishChange
in interface Listener
m
- model that changedtype
- type of change that has occured
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |