Iterator<Neuron> ii = setLayer.getNeuronsIterator();
Enumeration<Integer> en;// =setLayer.neurons();
int c = 0;
while (ii.hasNext()) {
Neuron cell = ii.next();
Trapezoid tf = (Trapezoid) cell.getTransferFunction();
if (c <= 3) {
tf.setLeftLow(pointsSets[c][0]);
tf.setLeftHigh(pointsSets[c][1]);
tf.setRightLow(pointsSets[c][3]);
tf.setRightHigh(pointsSets[c][2]);
} else {
tf.setLeftLow(timeSets[c - 4][0]);
tf.setLeftHigh(timeSets[c - 4][1]);
tf.setRightLow(timeSets[c - 4][3]);
tf.setRightHigh(timeSets[c - 4][2]);
}
c++;
}
// povezi prvi i drugi sloj