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

anytimeExactBeliefPropagation.Model.Node.FactorNode Maven / Gradle / Ivy

Go to download

SRI International's AIC Symbolic Manipulation and Evaluation Library (for Java 1.8+)

The newest version!
package anytimeExactBeliefPropagation.Model.Node;

import com.sri.ai.expresso.api.Expression;
import com.sri.ai.grinder.sgdpllt.api.Context;
import com.sri.ai.grinder.sgdpllt.api.Theory;

/**
 * Special type of {@link Node} used to represent factors
 * @author ferreira
 *
 */
public class FactorNode extends  Node {

	public FactorNode(Expression value, boolean isExtensional, Theory theory, Context context) {
		super(value);
		// TODO right initialization
		// Initialiation for  Variable nodes is the 
		// this.bound = Bounds.makeSingleElementBound(value, isExtensional);
	}


	
	@Override
	public boolean isVariable() {
		return false;
	}

	@Override
	public boolean isFactor() {
		return true;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy