net.automatalib.automata.transout.TransitionOutputAutomaton Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of automata-api Show documentation
Show all versions of automata-api Show documentation
This artifact contains the API of AutomataLib, which mainly consists of interfaces
for the various concepts and automaton models supported by the AutomataLib core.
In addition to that, it also defines some fundamental classes for dealing with
words of symbols.
/* Copyright (C) 2013 TU Dortmund
* This file is part of AutomataLib, http://www.automatalib.net/.
*
* AutomataLib 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.
*
* AutomataLib 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 AutomataLib; if not, see
* http://www.gnu.de/documents/lgpl.en.html.
*/
package net.automatalib.automata.transout;
import java.util.List;
import net.automatalib.automata.concepts.SODetOutputAutomaton;
import net.automatalib.automata.concepts.TransitionOutput;
import net.automatalib.words.Word;
public interface TransitionOutputAutomaton
extends SODetOutputAutomaton>, TransitionOutput {
/**
* Retrieves the output for the given input symbol in the given state.
* This is roughly equivalent to calling {@link #getTransitionOutput(Object)}
* on the transition returned by {@link #getTransition(Object, Object)}, however
* it should be noted that this function does not allow distinguishing between
* a null
output and an undefined transition.
*
* @param state the source state
* @param input the input symbol
* @return the output symbol (or null
if the transition is undefined)
*/
public O getOutput(S state, I input);
public void trace(Iterable input, List output);
public void trace(S state, Iterable input, List output);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy