private Node[][][] initialLattice(Instance inst) {
		int[][][] data = (int[][][]) inst.getData();
		length = inst.length();

		Node[][][] lattice = new Node[2][length][];
		for (int i = 0; i < length; i++) {
			lattice[0][i] = new Node[ysize[0]];
			for (int j = 0; j < ysize[0]; j++) {
				lattice[0][i][j] = new Node(ysize[0], ysize[1]);
			}
			initialClique(lattice[0][i], data[0][i], orders[0], ysize[0],
					ysize[1]);

			lattice[1][i] = new Node[ysize[1]];
			for (int j = 0; j < ysize[1]; j++) {
				lattice[1][i][j] = new Node(ysize[1], ysize[0]);
			}
			initialClique(lattice[1][i], data[1][i], orders[1], ysize[1],
					ysize[0]);
		}

		return lattice;
	}
private Node [ ] [ ] [ ] initialLattice ( Instance inst ) { int [ ] [ ] [ ] data = ( int [ ] [ ] [ ] ) inst . getData ( ) ; length = inst . length ( ) ; Node [ ] [ ] [ ] lattice = new Node [ 2 ] [ length ] [ ] ; for ( int i = 0 ; i < length ; i ++ ) { lattice [ 0 ] [ i ] = new Node [ ysize [ 0 ] ] ; for ( int j = 0 ; j < ysize [ 0 ] ; j ++ ) { lattice [ 0 ] [ i ] [ j ] = new Node ( ysize [ 0 ] , ysize [ 1 ] ) ; } initialClique ( lattice [ 0 ] [ i ] , data [ 0 ] [ i ] , orders [ 0 ] , ysize [ 0 ] , ysize [ 1 ] ) ; lattice [ 1 ] [ i ] = new Node [ ysize [ 1 ] ] ; for ( int j = 0 ; j < ysize [ 1 ] ; j ++ ) { lattice [ 1 ] [ i ] [ j ] = new Node ( ysize [ 1 ] , ysize [ 0 ] ) ; } initialClique ( lattice [ 1 ] [ i ] , data [ 1 ] [ i ] , orders [ 1 ] , ysize [ 1 ] , ysize [ 0 ] ) ; } return lattice ; }
构造并初始化网格

@param inst
样本实例
@return 双链网格