public HopfieldNetwork(ParCollection params, double threashold) {
super(params);
this.initializationPhase = true;
this.threashold = threashold;
this.setStandardActFct(new ActivationFunctionStep(this.threashold, -1, 1));
this.setStandardTrnFct(new TransitionFunctionWeightedSum());
this.setAllowLinksFromOutputs(true);
this.setAllowLinksToInputs(true);
this.setAllowRecurrentLinks(true);
this.initializationPhase = false;