public void temporalLearning(){
		for(int r=0; r<row;r++){
			for(int c=0; c<column; c++){
				for(Cell cell: columns[r][c].cells){
					if(cell.tLearnState==true){
						cell.adaptSegments(true);
						System.out.print("Y");
					}
					else if(cell.tPredictiveState == false && cell.pPredictiveState == true){
						cell.adaptSegments(false);
						System.out.print("N");
					}
					else if(cell.tActiveState == false && cell.pPredictiveState == true){
						cell.adaptSegments(false);
						System.out.print("N");
					}
					//reset update list for all cells
					cell.segmentUpdateList=new ArrayList<SegmentUpdate>();
				}
			}
		}
	}