Package org.data2semantics.RDFmodel

Examples of org.data2semantics.RDFmodel.URIDistinguisher


  }
 
  @Out(name        = "URI partition",
       description = "The partition cell sizes for a partition of URI's into groups that appear to be of similar type.")
  public List<Integer> partition() {
    URIDistinguisher D = new URIDistinguisher(_boundary, _ST);
    IndexMap<StringTree> map = new IndexMap<StringTree>();
    List<List<String>> res = new ArrayList<List<String>>();
    for (String uristr : _uris) {
      StringTree st = D.get_node(uristr);
      int cell = map.map(st);
      if (cell == res.size()) res.add(new ArrayList<String>());
      res.get(cell).add(uristr);
    }
    List<Integer> sizes = new ArrayList<Integer>();
View Full Code Here

TOP

Related Classes of org.data2semantics.RDFmodel.URIDistinguisher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.