public MLSFactory( SomeFactory<WeightFunctionCore> weightFunctionCoreFactory, SomeFactory<BasesFunction> basesFunctionFactory) { this.weightFunctionCoreFactory = weightFunctionCoreFactory; this.basesFunctionFactory = basesFunctionFactory; weightFunctionFactory = WeightFunctions.factory(weightFunctionCoreFactory); }
public void setWeightFunctionCoreFactory( SomeFactory<WeightFunctionCore> weightFunctionCoreFactory) { this.weightFunctionCoreFactory = weightFunctionCoreFactory; weightFunctionFactory = WeightFunctions.factory(weightFunctionCoreFactory); }