de.learnlib.eqtests.basic.EquivalenceQueries Maven / Gradle / Ivy
/* Copyright (C) 2013 TU Dortmund
* This file is part of LearnLib, http://www.learnlib.de/.
*
* LearnLib is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 3.0 as published by the Free Software Foundation.
*
* LearnLib is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with LearnLib; if not, see
* http://www.gnu.de/documents/lgpl.en.html.
*/
package de.learnlib.eqtests.basic;
import net.automatalib.automata.UniversalDeterministicAutomaton;
import net.automatalib.automata.concepts.Output;
import de.learnlib.api.MembershipOracle;
public abstract class EquivalenceQueries {
private EquivalenceQueries() {
}
public static & Output,I,D>
WMethodEQOracle wMethod(int maxDepth, MembershipOracle sulOracle) {
return new WMethodEQOracle<>(maxDepth, sulOracle);
}
public static & Output,I,D>
WpMethodEQOracle wpMethod(int maxDepth, MembershipOracle sulOracle) {
return new WpMethodEQOracle<>(maxDepth, sulOracle);
}
public static & Output,I,D>
SimulatorEQOracle simulator(A target) {
A automaton = target;
return new SimulatorEQOracle(automaton);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy