Search in sources :

Example 1 with ProceduralAttachmentExpressionFactor

use of com.sri.ai.praise.core.representation.interfacebased.factor.core.expression.core.proceduralattachment.ProceduralAttachmentExpressionFactor in project aic-praise by aic-sri-international.

the class ExpressionFactorNetwork method makeProceduralAttachmentExpressionFactor.

private static ProceduralAttachmentExpressionFactor makeProceduralAttachmentExpressionFactor(Entry<String, Procedure> variableNameAndProcedure, Context context) {
    DefaultExpressionVariable variable = makeVariable(variableNameAndProcedure);
    Procedure procedure = variableNameAndProcedure.getValue();
    ProceduralAttachmentExpressionFactor result = new ProceduralAttachmentExpressionFactor(variable, procedure, context);
    return result;
}
Also used : ProceduralAttachmentExpressionFactor(com.sri.ai.praise.core.representation.interfacebased.factor.core.expression.core.proceduralattachment.ProceduralAttachmentExpressionFactor) Procedure(com.sri.ai.praise.other.integration.proceduralattachment.api.Procedure)

Aggregations

ProceduralAttachmentExpressionFactor (com.sri.ai.praise.core.representation.interfacebased.factor.core.expression.core.proceduralattachment.ProceduralAttachmentExpressionFactor)1 Procedure (com.sri.ai.praise.other.integration.proceduralattachment.api.Procedure)1