private void CreateDistanceFLV() { IFuzzySet[] distanceFlVFuzzySets = new IFuzzySet[3]; distanceFlVFuzzySets[0] = new LeftShoulderFuzzySet(25, 150); distanceFlVFuzzySets[1] = new TriangleFuzzySet(25, 150, 300); distanceFlVFuzzySets[2] = new RightShoulderFuzzySet(150, 300); DistanceToTargetFLV = new FuzzyLinguisticVariables(distanceFlVFuzzySets); }
private void CreateAmmoFLV() { IFuzzySet[] ammoFlVFuzzySets = new IFuzzySet[3]; ammoFlVFuzzySets[0] = new LeftShoulderFuzzySet(0, 10); ammoFlVFuzzySets[1] = new TriangleFuzzySet(0, 10, 30); ammoFlVFuzzySets[2] = new RightShoulderFuzzySet(10, 30); AmmoFLV = new FuzzyLinguisticVariables(ammoFlVFuzzySets); }