Пример #1
0
 /// <inheritdoc cref="FuzzyVariable"/>
 public FuzzyMorale(float value) : base(value)
 {
     brokenFunc_ = new RightShoulderFunc(-9, -5);
     lowFunc_    = new TrapezoidFunc(-9, -5, -3, -2);
     avregeFunc_ = new TrapezoidFunc(-3, -2, 2, 3);
     highFunc_   = new TrapezoidFunc(2, 3, 5, 9);
     fullFunc_   = new LeftShoulderFunc(5, 9);
 }
 /// <inheritdoc />
 public FuzzyLaziness(float value) : base(value)
 {
     lazyFunc_        = new RightShoulderFunc(2d, 4d);
     avregeFunc_      = new TrapezoidFunc(2d, 4d, 6d, 8d);
     hardWorkingFunc_ = new LeftShoulderFunc(6d, 8d);
 }
Пример #3
0
 /// <inheritdoc />
 public FuzzyRest(float value) : base(value)
 {
     tiredFunc_        = new RightShoulderFunc(2d, 5d);
     avregeFunc_       = new TrapezoidFunc(2d, 5d, 6d, 8d);
     fullOfEnergyFunc_ = new LeftShoulderFunc(6d, 8d);
 }