Examples of reset()


Examples of edu.uci.ics.hyracks.dataflow.common.comm.io.FrameTupleAppender.reset()

                dCtx.getStaticContext());

        return new AbstractUnaryInputUnaryOutputOperatorNodePushable() {
            @Override
            public void open() throws HyracksDataException {
                appender.reset(frame, true);
                writer.open();
            }

            @Override
            public void nextFrame(ByteBuffer buffer) throws HyracksDataException {
View Full Code Here

Examples of edu.umd.cs.piccolo.util.PBounds.reset()

    } else {
      b.add(presspt);
      b.add(pie.getPosition());
    }

    b.reset();
    b.add(presspt);
    b.add(pie.getPosition());

    PBounds marqueeBounds = (PBounds) b.clone();
View Full Code Here

Examples of edu.umd.hooka.alignment.PerplexityReporter.reset()

    System.out.println(a.toStringVisual() + "\n"+cr);
    assertTrue(a.aligned(0, 0));
    System.out.println(hmm.backtrace);
    hmm = new HMM(tc, ac);
    hmm.buildHMMTables(pp);
    cr.reset();
    a = hmm.viterbiAlign(pp, cr);
    double ce2 = cr.getCrossEntropy();
    // perplexity should decrease!
    assertTrue(ce1 > ce2);
    assert(tc.get(1,1) > 0.0f);
View Full Code Here

Examples of edu.wiki.api.concept.IConceptIterator.reset()

    while(r.next()){
      titles.put(r.getInt(1), new String(r.getBytes(2),"UTF-8"));
    }
   
    count = 0;
    it.reset();
    while(it.next() && count < 10){
      int id = it.getId();
      System.out.println(id + "\t\t" + titles.get(id) + "\t\t" + vals.get(id));
      count++;
    }
View Full Code Here

Examples of er.extensions.appserver.ERXKeepAliveResponse.reset()

  @Override
  public WOResponse handleRequest(WORequest request) {
    String sessionID = request.sessionID();
    String name = request.requestHandlerPath();
    ERXKeepAliveResponse response = responseForSessionIDNamed(sessionID, name);
    response.reset();
    return response;
  }

  /**
   * Return or create the correct response for the session ID.
View Full Code Here

Examples of es.uma.ama.maudeWorkstationGUI.ui.views.MaudeDepuracion.reset()

          MaudeSesion.newInstance().reset();
         
          MaudeTraza traza = (MaudeTraza) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_TRAZA"))//$NON-NLS-1$
        if(traza!=null) traza.reset();
          MaudeDepuracion debug = (MaudeDepuracion) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_DEPURACION"))//$NON-NLS-1$
        if(debug!=null) debug.reset();
          MaudeRewriting rewriting = (MaudeRewriting) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_REWRITING")); //$NON-NLS-1$
         
        if(MaudeWorkstationGUIPlugin.DEBUG) System.out.println("Habilitando base de datos...."); //$NON-NLS-1$
       
        //setPathDatabase();
View Full Code Here

Examples of es.uma.ama.maudeWorkstationGUI.ui.views.MaudeRewriting.reset()

          MaudeWorkstationGUIPlugin.getDefault().setEnabledDatabase(MaudeWorkstationGUIPlugin.getDefault().getDatabase().initCoreMaudeDatabase())
        }
        else{
          MaudeWorkstationGUIPlugin.getDefault().setEnabledDatabase(MaudeWorkstationGUIPlugin.getDefault().getDatabase().initFullMaudeDatabase())
        }
        if(rewriting!=null) rewriting.reset();
       
      /*  if(!MaudeWorkstationGUIPlugin.getDefault().isEnabledDatabase()){
          createTasksDatabase();
        } */
      }
 
View Full Code Here

Examples of es.uma.ama.maudeWorkstationGUI.ui.views.MaudeTraza.reset()

       
          if(MaudeWorkstationGUIPlugin.DEBUG) System.out.println("Creando una nueva sesion...."); //$NON-NLS-1$
          MaudeSesion.newInstance().reset();
         
          MaudeTraza traza = (MaudeTraza) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_TRAZA"))//$NON-NLS-1$
        if(traza!=null) traza.reset();
          MaudeDepuracion debug = (MaudeDepuracion) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_DEPURACION"))//$NON-NLS-1$
        if(debug!=null) debug.reset();
          MaudeRewriting rewriting = (MaudeRewriting) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(Messages.getString("MaudeWorkstationGUIPlugin.MAUDE_REWRITING")); //$NON-NLS-1$
         
        if(MaudeWorkstationGUIPlugin.DEBUG) System.out.println("Habilitando base de datos...."); //$NON-NLS-1$
View Full Code Here

Examples of eu.isas.peptideshaker.gui.tablemodels.ProteinTableModel.reset()

    public void clearData() {

        proteinKeys.clear();

        ProteinTableModel proteinTableModel = (ProteinTableModel) proteinTable.getModel();
        proteinTableModel.reset();

        proteinTableModel.fireTableDataChanged();

        ((TitledBorder) proteinPanel.getBorder()).setTitle(PeptideShakerGUI.TITLED_BORDER_HORIZONTAL_PADDING + "Proteins" + PeptideShakerGUI.TITLED_BORDER_HORIZONTAL_PADDING);
        proteinPanel.repaint();
View Full Code Here

Examples of eu.stratosphere.compiler.dataproperties.LocalProperties.reset()

      switch (this.shipStrategy) {
        case BROADCAST:
        case PARTITION_HASH:
        case PARTITION_RANGE:
        case PARTITION_RANDOM:
          props.reset();
          break;
        case PARTITION_LOCAL_HASH:
        case FORWARD:
          break;
        case NONE:
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.