Examples of iterate()


Examples of be.ac.ulg.montefiore.run.jahmm.learn.BaumWelchLearner.iterate()

   
    // Incrementally improve the solution
    for (int i = 0; i < 10; i++) {
      System.out.println("Distance at iteration " + i + ": " +
          klc.distance(learntHmm, hmm));
      learntHmm = bwl.iterate(learntHmm, sequences);
    }
   
    System.out.println("Resulting HMM:\n" + learntHmm);
   
    /* Computing the probability of a sequence */
 
View Full Code Here

Examples of buildcraft.core.utils.PathFinding.iterate()

        firstEntity = this;
      } else {
        PathFinding p = new PathFinding(worldObj, new BlockIndex(xCoord, yCoord, zCoord), new BlockIndex(
            firstEntity.xCoord, firstEntity.yCoord, firstEntity.zCoord));

        p.iterate(10000);

        LinkedList<BlockIndex> r = p.getResult();

        for (BlockIndex b : r) {
          worldObj.setBlock(b.x, b.y, b.z, Blocks.sponge);
View Full Code Here

Examples of client.net.sf.saxon.ce.event.SequenceOutputter.iterate()

            PipelineConfiguration pipe = controller.makePipelineConfiguration();
            seq.setPipelineConfiguration(pipe);
            c2.setTemporaryReceiver(seq);
            process(c2);
            seq.close();
            return seq.iterate();
        }
    }

}
View Full Code Here

Examples of client.net.sf.saxon.ce.value.Value.iterate()

        if (operand instanceof Literal) {
            Value val = ((Literal)operand).getValue();
            if (val instanceof AtomicValue) {
                return operand;
            }
            SequenceIterator iter = val.iterate();
            while (true) {
                // if all items in the sequence are atomic (they generally will be, since this is
                // done at compile time), then return the sequence
                Item i = iter.next();
                if (i == null) {
View Full Code Here

Examples of com.arjuna.ats.arjuna.coordinator.RecordListIterator.iterate()

    public void setRecoveryCoordinator()
    {
        if (preparedList != null)
        {
            RecordListIterator iter = new RecordListIterator(preparedList);
            AbstractRecord absRec = iter.iterate();

            while (absRec != null)
            {
                if (absRec instanceof ParticipantRecord)
                {
View Full Code Here

Examples of com.arjuna.ats.internal.arjuna.template.OrderedListIterator.iterate()

        try
        {
          OrderedList hls = HLSManager.HLServices();
          OrderedListIterator iter = new OrderedListIterator(hls);
          HLSWrapper elem = (HLSWrapper) iter.iterate();

          while (elem != null)
          {
            Outcome result = null;
View Full Code Here

Examples of com.arjuna.ats.internal.txoj.LockListIterator.iterate()

        else if (locksHeld != null)
        {
            strm.println("\tCurrently holding : " + locksHeld.entryCount()
                    + " locks");

            while ((current = next.iterate()) != null)
                current.print(strm);
        }
        else
            strm.println("Currently holding : 0 locks");
    }
View Full Code Here

Examples of com.google.gwt.coreext.client.DataBag.iterate()

    if (CustomEvent.isCustomEvent(e.getType())) {
      // Render key-value pairs for the custom event.
      // Simply iterate over the custom data on the CustomEvent.
      CustomEvent customEvent = e.cast();
      DataBag customData = customEvent.getCustomData();
      customData.iterate(new IterationCallback() {
        public void onIteration(String key, String value) {
          details.put(key, new StringCellRenderer(value));
        }
      });
    }
View Full Code Here

Examples of com.google.gwt.coreext.client.JsIntegerDoubleMap.iterate()

      UiEvent event = getParentRow().getEvent();
      JsIntegerDoubleMap durations = event.getTypeDurations();

      assert (durations != null);

      durations.iterate(new JsIntegerDoubleMap.IterationCallBack() {
        public void onIteration(int key, double val) {
          if (val > 0) {
            data.add(new ColorCodedValue(EventRecord.typeToString(key)
                + " (" + TimeStampFormatter.format(val) + ")", val,
                EventRecordColors.getColorForType(key)));
View Full Code Here

Examples of com.impetus.kundera.query.Query.iterate()

    private void assertOnTokenScroll(String queryClause, int expected)
    {
        Query query = (Query) em.createQuery(queryClause, HbaseToken.class);

        int count = 0;
        Iterator<HbaseToken> tokens = query.iterate();
        while (tokens.hasNext())
        {
            HbaseToken token = tokens.next();
            Assert.assertNotNull(token);
            Assert.assertNotNull(token.getClient());
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.