Ejemplo n.º 1
0
        public static DiagnosisSet FindDiagnosisHaltByTime(Observation observation, ConflictSet initialConflictsSet, DiagnosisSet initialDiagnosisSet, int timeOutMillis)
        {
            var switchingAlgorithm = new SwitchingAlgorithm(observation, initialConflictsSet, initialDiagnosisSet, Int32.MaxValue);

            return(switchingAlgorithm.FindDiagnosis(timeOutMillis));
        }
Ejemplo n.º 2
0
        public static DiagnosisSet FindDiagnosisHaltByQuantiy(Observation observation, ConflictSet initialConflictsSet, DiagnosisSet initialDiagnosisSet, int quantity)
        {
            var switchingAlgorithm = new SwitchingAlgorithm(observation, initialConflictsSet, initialDiagnosisSet, quantity);

            return(switchingAlgorithm.FindDiagnosis(-1));
        }
Ejemplo n.º 3
0
        public static DiagnosisSet FindDiagnosisHaltByFirstDiagnosis(Observation observation, ConflictSet initialConflictsSet, DiagnosisSet initialDiagnosisSet)
        {
            var switchingAlgorithm = new SwitchingAlgorithm(observation, initialConflictsSet, initialDiagnosisSet, 1);

            return(switchingAlgorithm.FindDiagnosis(-1));
        }