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