List of usage examples for edu.stanford.nlp.graph DirectedMultiGraph DirectedMultiGraph
public DirectedMultiGraph(MapFactory<V, Map<V, List<E>>> outerMapFactory,
MapFactory<V, List<E>> innerMapFactory)
From source file:edu.anu.spice.SceneGraph.java
License:Open Source License
public SceneGraph(SynonymDictionary synonyms) { this.graph = new DirectedMultiGraph<SceneGraphNode, SceneGraphRelation>(outerMapFactory, innerMapFactory); this.synonyms = synonyms; this.allowConceptMerging = true; }