throws StructuralException {
super(name, nodes, factory);
if (nodes.length != encoders.length) {
throw new StructuralException("There are " + nodes.length + " Nodes but "
+ encoders.length + " encoding vectors");
}
myDimension = encoders[0].length;
for (int i = 1; i < encoders.length; i++) {
if (encoders[i].length != myDimension) {
throw new StructuralException("Encoders have different lengths");
}
}
myEncoders = encoders;
myDecodingApproximators = new HashMap<String, LinearApproximator>(10);