public void randomize(List<CellIndex> cellIndices){
  Random rand=new Random();
  int range=getUpperBound() - getLowerBound();
  for (  CellIndex cellIndex : cellIndices) {
    int row=cellIndex.row;
    int col=cellIndex.col;
    double value=(rand.nextDouble() * range) + getLowerBound();
    setLogicalValue(row,col,value,false);
  }
  fireTableDataChanged();
}

public void randomize ( List < CellIndex > cellIndices ) { Random rand = new Random ( ) ; int range = getUpperBound ( ) - getLowerBound ( ) ; for ( CellIndex cellIndex : cellIndices ) { int row = cellIndex . row ; int col = cellIndex . col ; double value = ( rand . nextDouble ( ) * range ) + getLowerBound ( ) ; setLogicalValue ( row , col , value , false ) ; } fireTableDataChanged ( ) ; }
randomize neurons within specified bounds .
