示例#1
0
    public CFGSolution(ISymbolicExpressionTree tree, ICFGProblemData problemData)
      : base() {
      name = ItemName;
      description = ItemDescription;

      Add(new Result(ModelLengthResultName, "Length of the symbolic regression model.", new IntValue(tree.Length)));
      Add(new Result(ModelDepthResultName, "Depth of the symbolic regression model.", new IntValue(tree.Depth)));

      Add(new Result(ModelResultName, "The CFG model.", tree));
    }
示例#2
0
        public CFGSolution(ISymbolicExpressionTree tree, ICFGProblemData problemData)
            : base()
        {
            name        = ItemName;
            description = ItemDescription;

            Add(new Result(ModelLengthResultName, "Length of the symbolic regression model.", new IntValue(tree.Length)));
            Add(new Result(ModelDepthResultName, "Depth of the symbolic regression model.", new IntValue(tree.Depth)));

            Add(new Result(ModelResultName, "The CFG model.", tree));
        }