|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cytoscape.cyni.AbstractCyniAlgorithm
public abstract class AbstractCyniAlgorithm
The AbstractCyniAlgorithm provides a basic implementation of a cyni algorithm TaskFactory.
| Constructor Summary | |
|---|---|
AbstractCyniAlgorithm(String computerName,
String humanName,
boolean supportsSelectedOnly,
CyniCategory category)
The Constructor. |
|
| Method Summary | |
|---|---|
Object |
createCyniContext(org.cytoscape.model.CyTable table,
CyCyniMetricsManager metricsManager,
org.cytoscape.work.TunableSetter tunableSetter,
Map<String,Object> mparams)
Returns a new cyni context object. |
CyniCategory |
getCategory()
Returns the category of the Cyni Algorithm. |
String |
getName()
A computer readable name used to construct property strings. |
boolean |
isReady(Object tunableContext)
Returns true if the task factory is ready to produce a task iterator. |
boolean |
supportsSelectedOnly()
Tests to see if this Cyni supports doing a Cyni Algorithm on a subset of the nodes. |
String |
toString()
Used to get the user-visible name of the cyni algorithm. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.cytoscape.cyni.CyCyniAlgorithm |
|---|
createTaskIterator |
| Constructor Detail |
|---|
public AbstractCyniAlgorithm(String computerName,
String humanName,
boolean supportsSelectedOnly,
CyniCategory category)
computerName - a computer readable name used to construct property strings.humanName - a user visible name of the cyni algorithm.supportsSelectedOnly - indicates whether only selected rows/nodes will be used to apply the algorithm.category - the category is used to set the type of cyni algorithm| Method Detail |
|---|
public String getName()
getName in interface CyCyniAlgorithmpublic CyniCategory getCategory()
getCategory in interface CyCyniAlgorithmpublic String toString()
toString in class Object
public Object createCyniContext(org.cytoscape.model.CyTable table,
CyCyniMetricsManager metricsManager,
org.cytoscape.work.TunableSetter tunableSetter,
Map<String,Object> mparams)
createCyniContext in interface CyCyniAlgorithmtable - The table where to get the data.metricsManager - The cyni metrics manager.tunableSetter - The tunable setter to set the parameters if not GUI is used.mparams - The map of each one of the parameters with the value of the parameter.
public boolean isReady(Object tunableContext)
CyCyniAlgorithm
isReady in interface CyCyniAlgorithmtunableContext - The layout context for this cyni algorithm.
public boolean supportsSelectedOnly()
CyCyniAlgorithm
supportsSelectedOnly in interface CyCyniAlgorithm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||