Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/16 10:18:05 (8 years ago)
Author:
ascheibe
Message:

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTree.cs

    r12012 r13656  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Drawing;
    2524using System.Linq;
    2625using HeuristicLab.Common;
     
    3231  [Item("SymbolicExpressionTree", "Represents a symbolic expression tree.")]
    3332  public class SymbolicExpressionTree : Item, ISymbolicExpressionTree {
    34     public static new Image StaticItemImage {
    35       get { return HeuristicLab.Common.Resources.VSImageLibrary.Function; }
    36     }
     33
    3734    [Storable]
    3835    private ISymbolicExpressionTreeNode root;
    39     public ISymbolicExpressionTreeNode Root {
     36    public ISymbolicExpressionTreeNode Root
     37    {
    4038      get { return root; }
    41       set {
     39      set
     40      {
    4241        if (value == null) throw new ArgumentNullException();
    4342        else if (value != root) {
     
    4847    }
    4948
    50     public int Length {
    51       get {
     49    public int Length
     50    {
     51      get
     52      {
    5253        if (root == null)
    5354          return 0;
     
    5657    }
    5758
    58     public int Depth {
    59       get {
     59    public int Depth
     60    {
     61      get
     62      {
    6063        if (root == null)
    6164          return 0;
Note: See TracChangeset for help on using the changeset viewer.