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