org.tensorics.expression.EvaluationStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tensorics-expression Show documentation
Show all versions of tensorics-expression Show documentation
Tensoric expression is able to solve an expression tree. Much like a tree coming from a traditional equation, where both operations and operands can be objects and can implement custom behavior
The newest version!
/**
* Copyright (c) 2016 European Organisation for Nuclear Research (CERN), All Rights Reserved.
*/
package org.tensorics.expression;
public enum EvaluationStatus {
EVALUATED,
NOT_EVALUATED;
public static EvaluationStatus fromBoolean(boolean isExecuted) {
return isExecuted ? EVALUATED : NOT_EVALUATED;
}
}