|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnz.ac.waikato.mcennis.rat.reusablecores.PathBaseCore
nz.ac.waikato.mcennis.rat.reusablecores.ActorDistanceMatrixCore
public class ActorDistanceMatrixCore
Creates a 2D matrix describing the distance between any two actors in a single mode-relation pair using a shortest-path measure of distance.
Constructor Summary | |
---|---|
ActorDistanceMatrixCore()
|
Method Summary | |
---|---|
protected void |
doAnalysis(PathNode[] path,
PathNode source)
|
protected void |
doCleanup(PathNode[] path,
Graph g)
Any additional calculations to be performed before control returns to the scheduler |
DoubleMatrix2D |
getActorMatrix()
Get the matrix describing the distances of this actor-mode pair |
int |
getColumn(Actor a)
Get which column the given actor is stored in. |
void |
setActorMatrix(DoubleMatrix2D actorMatrix)
Set the matrix that will be overwritten with the distance data of this mode-relation pair. |
protected void |
setSize(int size)
|
Methods inherited from class nz.ac.waikato.mcennis.rat.reusablecores.PathBaseCore |
---|
compare, execute, getMode, getProperties, getRelation, setMode, setProperties, setRelation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActorDistanceMatrixCore()
Method Detail |
---|
protected void doCleanup(PathNode[] path, Graph g)
PathBaseCore
doCleanup
in class PathBaseCore
protected void doAnalysis(PathNode[] path, PathNode source)
doAnalysis
in class PathBaseCore
protected void setSize(int size)
setSize
in class PathBaseCore
public DoubleMatrix2D getActorMatrix()
public void setActorMatrix(DoubleMatrix2D actorMatrix)
actorMatrix
- matrix to be overwrittenpublic int getColumn(Actor a)
a
- actor to be found
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |