Package bgu.bio.adt.matrix

Examples of bgu.bio.adt.matrix.FloatMatrix3D


   * @return true, if the tables are rebuilt and false otherwise
   */
  private boolean rebuildTheTables(int newDim1, int newDim2) {
    if (this.dpTable == null || newDim1 > this.dpTable.getDimensionSize(0)
        || newDim2 > this.dpTable.getDimensionSize(1)) {
      this.dpTable = new FloatMatrix3D(newDim1, newDim2, 2);
      // last dimension is non-accept/accept.
      if (this.trace) {
        this.dpTrace = new IntMatrix4D(newDim1, newDim2,2, 3);
      }
      return true;
View Full Code Here


  protected boolean rebuildTheTables(int newDim1, int newDim2) {
    if (this.dpTable == null || newDim1 > this.dpTable.getDimensionSize(0)
        || newDim2 > this.dpTable.getDimensionSize(1)) {
      // System.out.print("Building new tables ... ");

      this.dpTable = new FloatMatrix3D(newDim1, newDim2,
          tr.getNumOfStates() + additionalStatesCount);

      if (this.trace) {
        this.dpTrace = new IntMatrix4D(newDim1, newDim2,
            tr.getNumOfStates() + additionalStatesCount, 3);
View Full Code Here

TOP

Related Classes of bgu.bio.adt.matrix.FloatMatrix3D

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.