|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.model.ModelShell
nz.ac.waikato.mcennis.rat.scheduler.LinkCrossValidationScheduler
public class LinkCrossValidationScheduler
| 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 | |
|---|---|
LinkCrossValidationScheduler()
|
|
| 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 LinkCrossValidationScheduler()
| Method Detail |
|---|
public void load(DataAquisition loader)
Scheduler
load in interface Schedulerloader - acquisition method.
public void load(Algorithm algorithm,
GraphQuery graphQuery)
Scheduler
load in interface Scheduleralgorithm - array of algorithms to execute against the graphpublic void set(Graph g)
Scheduler
set in interface Schedulerg - 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 Schedulerjava.io.IOException
java.lang.Exceptionpublic void start()
Scheduler
start in interface Schedulerpublic void cancel()
Scheduler
cancel in interface Schedulerpublic void init(Properties props)
Scheduler
init in interface Schedulerpublic Properties getParameter()
Scheduler
getParameter in interface Schedulerpublic Scheduler prototype()
prototype in interface Scheduler
public void publishChange(Model m,
int type,
int argument)
Listener
publishChange in interface Listenerm - 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 | ||||||||