Modifier and Type | Method and Description |
---|---|
ArrayList<Algorithms.PathWay> |
PathLinkerModel.getResult()
Getter method of the result
|
Modifier and Type | Method and Description |
---|---|
void |
CreateKSPViewTask.updatePathRankAttribute(ArrayList<Algorithms.PathWay> paths)
Creates a path rank attribute to the network edge tables
that rank each edge in the newly generated paths according to its weight
|
Constructor and Description |
---|
CreateResultPanelTask(PathLinkerControlPanel controlPanel,
org.cytoscape.model.CyNetwork network,
String title,
org.cytoscape.model.CyNetworkManager networkManager,
List<Algorithms.PathWay> results,
org.cytoscape.service.util.CyServiceRegistrar serviceRegistrar,
org.cytoscape.application.swing.CySwingApplication cySwingApp)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static Algorithms.PathWay |
Algorithms.dijkstra(org.cytoscape.model.CyNetwork network,
Map<org.cytoscape.model.CyNode,String> cyNodeToId,
org.cytoscape.model.CyNode source,
org.cytoscape.model.CyNode target)
Computes the shortest path from a source to a sink in the supplied
network
|
static Algorithms.PathWay |
Algorithms.shortestPathAStar(org.cytoscape.model.CyNetwork network,
Map<org.cytoscape.model.CyNode,String> cyNodeToId,
org.cytoscape.model.CyNode source,
org.cytoscape.model.CyNode target,
HashMap<org.cytoscape.model.CyNode,Double> minDists)
An implementation of the A* algorithm.
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<Algorithms.PathWay> |
Algorithms.ksp(org.cytoscape.model.CyNetwork network,
Map<org.cytoscape.model.CyNode,String> cyNodeToId,
org.cytoscape.model.CyNode source,
org.cytoscape.model.CyNode target,
int maxK,
boolean includePathScoreTies)
Computes the k shortest acyclic paths in the supplied network using Yen's
algorithm.
|
Modifier and Type | Method and Description |
---|---|
int |
Algorithms.PathWay.compareTo(Algorithms.PathWay o)
Use for sorting the path results
Sort by weight, if weight is equal then sort by the name of the nodes
if name is equal then return the path with less nodes
|
Modifier and Type | Method and Description |
---|---|
static void |
Algorithms.sortResult(ArrayList<Algorithms.PathWay> result)
Sort the list of the paths using its custom compareTo method
|
Constructor and Description |
---|
PathLinkerResultPanel(PathLinkerControlPanel controlPanel,
String title,
org.cytoscape.model.CyNetworkManager networkManager,
org.cytoscape.model.CyNetwork currentNetwork,
List<Algorithms.PathWay> results)
Constructor for the result frame class
|
Copyright © 2018. All rights reserved.