|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CyCyniAlgorithm
An interface specific to Cyni algorithms.
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. |
org.cytoscape.work.TaskIterator |
createTaskIterator(Object context,
org.cytoscape.model.CyNetworkFactory networkFactory,
org.cytoscape.view.model.CyNetworkViewFactory networkViewFactory,
org.cytoscape.model.CyNetworkManager networkManager,
org.cytoscape.model.CyNetworkTableManager netTableMgr,
org.cytoscape.model.subnetwork.CyRootNetworkManager rootNetMgr,
org.cytoscape.view.vizmap.VisualMappingManager vmMgr,
org.cytoscape.view.model.CyNetworkViewManager networkViewManager,
org.cytoscape.view.layout.CyLayoutAlgorithmManager layoutManager,
CyCyniMetricsManager metricsManager)
Creates a task iterator containing the cyni tasks. |
CyniCategory |
getCategory()
A method to get the category of the algorithm |
String |
getName()
Returns the computer-readable name of the Cyni Algorithm. |
boolean |
isReady(Object Context)
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. |
Method Detail |
---|
org.cytoscape.work.TaskIterator createTaskIterator(Object context, org.cytoscape.model.CyNetworkFactory networkFactory, org.cytoscape.view.model.CyNetworkViewFactory networkViewFactory, org.cytoscape.model.CyNetworkManager networkManager, org.cytoscape.model.CyNetworkTableManager netTableMgr, org.cytoscape.model.subnetwork.CyRootNetworkManager rootNetMgr, org.cytoscape.view.vizmap.VisualMappingManager vmMgr, org.cytoscape.view.model.CyNetworkViewManager networkViewManager, org.cytoscape.view.layout.CyLayoutAlgorithmManager layoutManager, CyCyniMetricsManager metricsManager)
context
- The cyni context for this cyni algorithm.networkFactory
- The network factory to create a new networknetworkViewFactory
- The network view factory to create a new network viewnetworkManager
- The network managernetTableMgr
- The network table managerrootNetMgr
- The root network managernetworkViewManager
- The network view managerlayoutManager
- The layout manager to apply a layout if a new network is createdtunableSetter
- the setter if cyni is not called through the GUImetricsManager
- The metrics manager to access to all available metricsmparams
- The map to the input paramters to be used if cyni is not called through the GUI
boolean isReady(Object Context)
Context
- The layout context for this cyni algorithm.
Object createCyniContext(org.cytoscape.model.CyTable table, CyCyniMetricsManager metricsManager, org.cytoscape.work.TunableSetter tunableSetter, Map<String,Object> mparams)
table
- 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.
boolean supportsSelectedOnly()
String getName()
CyniCategory getCategory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |