leaf-analysis/src/simulation/BICSPPath.java
/**
	 * This method creates the variable list for the solver to solve. 
	 * @return
	 */
This method creates the variable list for the solver to solve.
@return
This method creates the variable list for the solver to solve . @return
private IntVar[] createPathVarList(){
		int fullListSize = (this.numIntentions * this.numTimePoints * 4) + this.timePoints.length;
		IntVar[] fullList = new IntVar[fullListSize];
		int fullListIndex = 0;
		for (int i = 0; i < this.values.length; i++)
			for (int t = 0; t < this.values[i].length; t++)
				for (int v = 0; v < this.values[i][t].length; v++){
					fullList[fullListIndex] = this.values[i][t][v];
					fullListIndex++;
				}
		for (int i = 0; i < this.timePoints.length; i++){
			fullList[fullListIndex] = this.timePoints[i];
			fullListIndex++;
		}
		return fullList;
	}
private IntVar [ ] createPathVarList ( ) { int fullListSize = ( this . numIntentions * this . numTimePoints * 4 ) + this . timePoints . length ; IntVar [ ] fullList = new IntVar [ fullListSize ] ; int fullListIndex = 0 ; for ( int i = 0 ; i < this . values . length ; i ++ ) for ( int t = 0 ; t < this . values [ i ] . length ; t ++ ) for ( int v = 0 ; v < this . values [ i ] [ t ] . length ; v ++ ) { fullList [ fullListIndex ] = this . values [ i ] [ t ] [ v ] ; fullListIndex ++ ; } for ( int i = 0 ; i < this . timePoints . length ; i ++ ) { fullList [ fullListIndex ] = this . timePoints [ i ] ; fullListIndex ++ ; } return fullList ; }
This method creates the variable list for the solver to solve.
This method creates the variable list for the solver to solve .
// Add full path to variables. // + this.epochs.length; 