V - Vertices typeE - Edges typepublic class MinDFVS<V,E> extends Algorithms<V,E>
| Constructor and Description |
|---|
MinDFVS(org.apache.commons.collections15.Factory<edu.uci.ics.jung.graph.Graph<V,E>> graphFactory,
org.apache.commons.collections15.Factory<E> edgeFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.util.ArrayList<V>> |
enumAllCircuitsTarjan(edu.uci.ics.jung.graph.Graph<V,E> G)
Enumerate all the elementary circuits of a directed graph.
|
java.util.Set<V> |
greedyMinFVS(edu.uci.ics.jung.graph.Graph<V,E> G)
This method gives an approximation of the FVS problem using Big Degree
heuristic.
|
java.util.Set<V> |
maximumDirectedAcyclicSubset(edu.uci.ics.jung.graph.Graph<V,E> Ginit)
Return the Maximum Directed Acyclic Subset of G.
|
java.util.Set<V> |
minimumFeedbackVertexSet(edu.uci.ics.jung.graph.Graph<V,E> G)
Computes the minimum directed acyclic subset of the graph G.
|
getEdgeFactory, getGraphFactory, getVertexFactory, setEdgeFactoy, setGraphFactoy, setVertexFactoypublic java.util.Set<java.util.ArrayList<V>> enumAllCircuitsTarjan(edu.uci.ics.jung.graph.Graph<V,E> G)
G - graphpublic java.util.Set<V> greedyMinFVS(edu.uci.ics.jung.graph.Graph<V,E> G)
G - graphpublic java.util.Set<V> maximumDirectedAcyclicSubset(edu.uci.ics.jung.graph.Graph<V,E> Ginit)
Ginit - graphpublic java.util.Set<V> minimumFeedbackVertexSet(edu.uci.ics.jung.graph.Graph<V,E> G)
G - graphmaximumDirectedAcyclicSubset(edu.uci.ics.jung.graph.Graph<V, E>)