Examples of xsize()


Examples of mbj.robotdriver.holder.Holder.xSize()

  public IntPair setHolders(IngredientList compatibleIngredientList, IntPair holderAndPos, HolderList holderList) throws RobotDriverException {
    // give to each used ingredient a Holder and a position in Holder
    HolderList inputHolderList = holderList.getInputHolders();
    int holderNumber = holderAndPos.first;
    Holder inputHolder = inputHolderList.get(holderNumber);
    int maxPosition = inputHolder.xSize() * inputHolder.ySize(); // to handle position in holder
    int currentPosition = holderAndPos.second; // to handle position in holder
    for (Ingredient aIngredient : compatibleIngredientList) {
      if (aIngredient.chemical().pipettingInfo().holder().name().equals("FREE")) {
        if (currentPosition <= maxPosition) {
          aIngredient.chemical().pipettingInfo().setHolder(inputHolder);
View Full Code Here

Examples of mbj.robotdriver.holder.Holder.xSize()

          // display error if not enough inputHolders
          if (holderNumber >= inputHolderList.size()) {
            throw new RobotDriverException("You do not have enough space in your input Holders!\n  - You must Cancel and add input Holders to make this screen.\n");
          }
          inputHolder = inputHolderList.get(holderNumber);
          maxPosition = inputHolder.xSize() * inputHolder.ySize();
          currentPosition = 1;
          aIngredient.chemical().pipettingInfo().setHolder(inputHolder);
          aIngredient.chemical().pipettingInfo().setPositionInHolder(String.valueOf(currentPosition));
          currentPosition += 1;
       
View Full Code Here

Examples of org.chasen.crfpp.Tagger.xsize()

    /**
     * get and refine tagged context
     */
    for (int i = 0; i < tagger.size(); ++i) {
      for (int j = 0; j < tagger.xsize(); ++j) {}
      taggedResult +=  tagger.x(i, 0) + "\t" + tagger.y2(i) + "\n"; //get filename:TokenId and predicted label
    }
    tagger.delete();
   
  return taggedResult;
View Full Code Here

Examples of org.openpixi.pixi.physics.util.IntBox.xsize()

  private Cell[][] getFinalCells(Grid grid) {
    IntBox mypart = partitions[workerID];

    int xstart = 0;
    int ystart = 0;
    int xend = mypart.xsize() - 1;
    int yend = mypart.ysize() - 1;
    if (mypart.xmin() == 0) {
      xstart -= Grid.EXTRA_CELLS_BEFORE_GRID;
    }
    if (mypart.xmax() == globalSettings.getGridCellsX() - 1) {
View Full Code Here

Examples of org.openpixi.pixi.physics.util.IntBox.xsize()

    double cellWidth = globalSettings.getCellWidth();
    double cellHeight = globalSettings.getCellHeight();

    localSettings = ClassCopier.copy(globalSettings);

    localSettings.setGridCellsX(mypart.xsize());
    localSettings.setGridCellsY(mypart.ysize());
    localSettings.setSimulationWidth(cellWidth * mypart.xsize());
    localSettings.setSimulationHeight(cellHeight * mypart.ysize());
  }

 
View Full Code Here

Examples of org.openpixi.pixi.physics.util.IntBox.xsize()

    localSettings = ClassCopier.copy(globalSettings);

    localSettings.setGridCellsX(mypart.xsize());
    localSettings.setGridCellsY(mypart.ysize());
    localSettings.setSimulationWidth(cellWidth * mypart.xsize());
    localSettings.setSimulationHeight(cellHeight * mypart.ysize());
  }


  private Interpolation createInterpolationIterator(SharedDataManager sharedDataManager) {
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.