Examples of union()


Examples of cbcb.kmulus.util.PresenceVector.union()

      throws IOException, InterruptedException {
     
      PresenceVector clusterPV = new PresenceVector(kmerLength);
     
      for (PresenceVector pv : values) {
        clusterPV = clusterPV.union(pv);
      }
     
      context.write(key, clusterPV);
    }
  }
View Full Code Here

Examples of ch.agent.t2.time.Range.union()

    Range result = super.getRange();
    if (range != null)
      result = result.intersection(range);
    else {
      if (updates != null) {
        result = result.union(updates.getRange());
      }
      if (deletes != null) {
        boolean tryHarder = false;
        for (TimeIndex t : deletes) {
          if (t.asLong() == result.getFirstIndex() || t.asLong() == result.getLastIndex()) {
View Full Code Here

Examples of ch.epfl.lbd.database.spatial.Geometry.union()

  public Geometry getGeometry(){
    if(episodes.size() < 2) return null;
    Geometry trj_shape = episodes.get(1).getGeometry();
    for(Episode episode : episodes){
      if(episode instanceof Move)
        trj_shape = trj_shape.union(episode.getGeometry());
    }
    return trj_shape;
  }
 
  public LifeSpan getLifeSpan(){
View Full Code Here

Examples of com.caucho.util.IntSet.union()

             
              if (ch2 == ']') {
                break;
              }
              else {
                set.union(ch2);
              }
            }
           
            if (isNegated)
              segmentList.add(new ScanfSetNegated(set));
View Full Code Here

Examples of com.fray.evo.EcState.union()

    boolean keepgoing = true;
    EcState state = EcState.defaultDestination();
    for (EcState s : metric.waypoints)
    {
      if (keepgoing)
        state.union(s);
      if (!s.isSatisfied(c))
        keepgoing = false;
      else
        score += 500.0;
    }
View Full Code Here

Examples of com.fray.evo.EcState.union()

      else
        score += 500.0;
    }
    if (keepgoing)
    {
      state.union(metric);
      score = augmentScore(c, metric, score, false);
    }
    else
      score = augmentScore(c, metric, score, false);
View Full Code Here

Examples of com.fray.evo.EcState.union()

        boolean keepgoing = true;
        EcState state = EcState.defaultDestination();
        for (EcState s : metric.waypoints) {
            if (keepgoing) {
                state.union(s);
            }
            if (!s.isSatisfied(candidate)) {
                keepgoing = false;
            }
        }
View Full Code Here

Examples of com.fray.evo.EcState.union()

            if (!s.isSatisfied(candidate)) {
                keepgoing = false;
            }
        }
        if (keepgoing) {
            state.union(metric);
        }

        score = augmentScore(candidate, state, score, false);

        if (state.isSatisfied(candidate)) {//user options satisfied
View Full Code Here

Examples of com.google.javascript.jscomp.regex.CharRanges.union()

        0x1C, 0x1D, 0x1E, 0x21, 0x24, 0x27, 0x28, 0x29, 0x2A, 0x2B);
    CharRanges b = CharRanges.withRanges(0x01, 0x04, 0x06, 0x09, 0x0B, 0x0E, 0x0F, 0x12, 0x1A, 0x1B,
        0x1C, 0x1D, 0x21, 0x24);
    CharRanges empty = CharRanges.withMembers();

    assertEquals(empty, empty.union(empty));
    assertEquals(a, a.union(empty));
    assertEquals(b, empty.union(b));

    CharRanges aSb = a.difference(b);
    assertEquals(
View Full Code Here

Examples of com.google.javascript.jscomp.regex.CharRanges.union()

        0x1C, 0x1D, 0x21, 0x24);
    CharRanges empty = CharRanges.withMembers();

    assertEquals(empty, empty.union(empty));
    assertEquals(a, a.union(empty));
    assertEquals(b, empty.union(b));

    CharRanges aSb = a.difference(b);
    assertEquals(
        "[0x4-0x5 0x9-0xa 0x12 0x14 0x16 0x18 0x1e-0x20 0x24-0x26 0x28 0x2a]",
        aSb.toString());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.