public bool IsUniform(string procedureName, Expr expr)
        {
            if (!uniformityInfo.ContainsKey(procedureName))
            {
                return(false);
            }

            UniformExpressionAnalysisVisitor visitor = new UniformExpressionAnalysisVisitor(uniformityInfo[procedureName].Value);

            visitor.VisitExpr(expr);
            return(visitor.IsUniform());
        }
예제 #2
0
 public bool IsUniform(string procedureName, Expr expr)
 {
     UniformExpressionAnalysisVisitor visitor = new UniformExpressionAnalysisVisitor(uniformityInfo[procedureName].Value);
     visitor.VisitExpr(expr);
     return visitor.IsUniform();
 }
예제 #3
0
        public bool IsUniform(string procedureName, Expr expr)
        {
            if (!uniformityInfo.ContainsKey(procedureName))
            {
                return false;
            }

            UniformExpressionAnalysisVisitor visitor = new UniformExpressionAnalysisVisitor(uniformityInfo[procedureName].Value);
            visitor.VisitExpr(expr);
            return visitor.IsUniform();
        }
예제 #4
0
 public bool IsUniform(string procedureName, Expr expr)
 {
     UniformExpressionAnalysisVisitor visitor = new UniformExpressionAnalysisVisitor(uniformityInfo[procedureName].Value);
     visitor.VisitExpr(expr);
     return visitor.IsUniform();
 }