nl.tudelft.goal.ut2004.translators
Class PerceptTranslator
java.lang.Object
nl.tudelft.goal.ut2004.translators.PerceptTranslator
- All Implemented Interfaces:
- eis.eis2java.translation.Java2Parameter<Percept>
public class PerceptTranslator
- extends Object
- implements eis.eis2java.translation.Java2Parameter<Percept>
Translates percepts of objects to arrays such that they can be reasonably be
expected to match. When objects translate to multiple elements they are
considered to be a ParameterList
. When they translate to an empty
list they're ignored. Single element lists are collapsed.
- Author:
- mpkorstanje
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerceptTranslator
public PerceptTranslator()
translate
public eis.iilang.Parameter[] translate(Percept percept)
throws eis.eis2java.exception.TranslationException
- Specified by:
translate
in interface eis.eis2java.translation.Java2Parameter<Percept>
- Throws:
eis.eis2java.exception.TranslationException
translatesFrom
public Class<? extends Percept> translatesFrom()
- Specified by:
translatesFrom
in interface eis.eis2java.translation.Java2Parameter<Percept>
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.