@MetaInfServices(value=GraphFactory.class) public class ReducedGraphFactory<G extends Graph<V,E>,V,E extends Edge<V>> extends AbstractGraphFactory<ReducedGraph<G,V,E>>
Constructor and Description |
---|
ReducedGraphFactory() |
Modifier and Type | Method and Description |
---|---|
ReducedGraph |
create()
Create a new graph of the type factory is managing
|
ReducedGraph |
create(Graph graph) |
Class<ReducedGraph<G,V,E>> |
getGraphClass()
Return the class of graph this factory is managing
|
static ReducedGraphFactory<?,?,?> |
getInstance() |
Class<ReducedGraphParser> |
getParser()
Return the class of the parser to use to read from file the type
of graph the factory manager
|
createDefaultEdgeStyle, createDefaultNodeStyle, getGraphType
public static final String KEY
public static ReducedGraphFactory<?,?,?> getInstance()
public Class<ReducedGraph<G,V,E>> getGraphClass()
GraphFactory
getGraphClass
in interface GraphFactory<ReducedGraph<G extends Graph<V,E>,V,E extends Edge<V>>>
getGraphClass
in class AbstractGraphFactory<ReducedGraph<G extends Graph<V,E>,V,E extends Edge<V>>>
public Class<ReducedGraphParser> getParser()
GraphFactory
public ReducedGraph create()
GraphFactory
public ReducedGraph create(Graph graph)
Copyright © 2005–2020. All rights reserved.