Example usage for edu.stanford.nlp.graph DirectedMultiGraph DirectedMultiGraph

List of usage examples for edu.stanford.nlp.graph DirectedMultiGraph DirectedMultiGraph

Introduction

In this page you can find the example usage for edu.stanford.nlp.graph DirectedMultiGraph DirectedMultiGraph.

Prototype

public DirectedMultiGraph(MapFactory<V, Map<V, List<E>>> outerMapFactory,
            MapFactory<V, List<E>> innerMapFactory) 

Source Link

Usage

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;
}