All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.sandia.cognition.evaluator.ReversibleEvaluator Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
/*
 * File:            ReversibleEvaluator.java
 * Authors:         Justin Basilico
 * Project:         Cognitive Foundry Common Core
 * 
 * Copyright 2012 Cognitive Foundry. All rights reserved.
 */

package gov.sandia.cognition.evaluator;

/**
 * Represents a {@link Evaluator} whose evaluation can be reversed. The
 * reverse is just another {@code Evaluator}. It is required that the
 * converter's range must be part of the domain of the reverse converter.
 * 
 * @param   
 *      The input type to evaluate from.
 * @param   
 *      The output type to evaluate to.
 * @param   
 *      The type of reverse evaluator.
 * @author  Justin Basilico
 * @since   3.3.3
 */
public interface ReversibleEvaluator>
    extends Evaluator
{
    
    /**
     * Gets the data converter that performs the reverse conversion.
     *
     * @return The reverse converter.
     */
    public ReverseType reverse();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy