Package com.bpodgursky.set_query_lib

Examples of com.bpodgursky.set_query_lib.IntBitSet


  public DataNode(int[] id, DataNode[] children, long size) {
    super(id, children);

    this.cumulativeBelow = size;
    this.allBelow = new IntBitSet(id);
  }
View Full Code Here


  private long count;

  public SupersetNode(int[] id, SupersetNode[] children, long count) {
    super(id, children);

    this.allBelow = new IntBitSet(id);
    this.count = count;
  }
View Full Code Here

  }

  public List<Set<K>> supersetQuery(Set<K> query, int maxMatches) {

    // Run subset query on all children of the root.
    IntBitSet supersetQuery = new IntBitSet(getIndices(query));

    List<Collection<Integer>> matches = new LinkedList<Collection<Integer>>();
    matchSuperset(supersetQuery, getRoot(), matches, new Stack<Integer>(), maxMatches);

    List<Set<K>> matchesReversed = new ArrayList<Set<K>>(matches.size());
View Full Code Here

TOP

Related Classes of com.bpodgursky.set_query_lib.IntBitSet

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.