public class RunKSPTask
extends org.cytoscape.task.AbstractNetworkTask
implements org.cytoscape.work.ObservableTask
Constructor and Description |
---|
RunKSPTask(org.cytoscape.model.CyNetwork network,
PathLinkerModelParams modelParams)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
<R> R |
getResults(Class<? extends R> type)
Get Result method
returns PathLinkerModel used by the RunKSPTask
the model consist of error lists and results from running the ksp algorithm
|
void |
run(org.cytoscape.work.TaskMonitor taskMonitor)
Runs the KSP algorithm
|
cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, setTaskIterator
public RunKSPTask(org.cytoscape.model.CyNetwork network, PathLinkerModelParams modelParams)
network
- network to perform ksp algorithmmodelParams
- parameters to create model for running the ksp algorithmpublic <R> R getResults(Class<? extends R> type)
getResults
in interface org.cytoscape.work.ObservableTask
public void run(org.cytoscape.work.TaskMonitor taskMonitor)
run
in interface org.cytoscape.work.Task
run
in class org.cytoscape.work.AbstractTask
Copyright © 2018. All rights reserved.