/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.biohackathon.SPARQLBuilder.OWL; /** * * @author atsuko */ import java.util.*; public class LabeledMultiDigraph { List> adjlist; List labels; HashMap labelednodes; public class LabeledEdge{ Integer node; String label; Direction direction; } public LabeledMultiDigraph(){ adjlist = new ArrayList>(); labels = new LinkedList(); labelednodes = new HashMap(); } public void addNodes(String label){ labels.add(label); adjlist.add(new LinkedList()); } }