org.sonar.graph
Class Dsm<V>
java.lang.Object
org.sonar.graph.Dsm<V>
public class Dsm<V>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dsm
public Dsm(DirectedGraphAccessor<V,? extends Edge<V>> graph,
Collection<V> vertices,
Set<Edge> feedbackEdges)
Dsm
public Dsm(DirectedGraphAccessor<V,? extends Edge<V>> acyclicGraph,
Set<Edge> feedbackEdges)
Dsm
public Dsm(DirectedGraphAccessor<V,? extends Edge<V>> acyclicGraph)
getVertex
public V getVertex(int rowIndex)
getDimension
public int getDimension()
permute
public void permute(int fromIndex,
int toIndex)
getNumberOfIncomingEdges
public int getNumberOfIncomingEdges(int y,
int from,
int to)
getNumberOfOutgoingEdges
public int getNumberOfOutgoingEdges(int x,
int from,
int to)
getCell
public DsmCell getCell(int x,
int y)
getVertices
public V[] getVertices()
Copyright © 2009-2012 SonarSource. All Rights Reserved.