|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfern.analysis.ShortestPath.Path
public class ShortestPath.Path
Encapsulates a path from one species to another.
Constructor Summary | |
---|---|
ShortestPath.Path(int[] path)
Creates a path from an array. |
Method Summary | |
---|---|
int[] |
getRawData()
Returns the raw path: Is ends with a species index and is composed of alternating indices of species and reactions. |
int[] |
getReactions()
Returns all the reactions on this path. |
int[] |
getSpecies()
Returns all the species on this path. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ShortestPath.Path(int[] path)
path
- Arrays containing the network indices of the path's componentsMethod Detail |
---|
public int[] getRawData()
public int[] getSpecies()
public int[] getReactions()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |