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

fr.boreal.model.logicalElements.functional.AllVariablesInSubstitutionMapToConstant Maven / Gradle / Ivy

The newest version!
package fr.boreal.model.logicalElements.functional;

import org.apache.commons.collections4.Predicate;

import fr.boreal.model.logicalElements.api.Substitution;

/**
 * Predicate used to filter substitutions that do not map only to constants.
 */

public class AllVariablesInSubstitutionMapToConstant implements Predicate {

	public boolean evaluate(Substitution s) {
		return s.mapsToConstantsOnly();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy