Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/03/12 14:58:39 (12 years ago)
Author:
bburlacu
Message:

#1772: Introduced more specific graph class for symbolic expression problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Interfaces/IGenealogyGraph.cs

    r7799 r8555  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using HeuristicLab.Core;
    2524
    2625namespace HeuristicLab.EvolutionaryTracking {
    2726  public interface IGenealogyGraph<T> : INamedItem where T : class {
    28     // node/vertex operations
    2927    bool HasNode(T t); // graph contains specific node?
    30     bool Any(Func<KeyValuePair<T, GenealogyGraphNode>, bool> predicate); // graph contains any nodes matching the given predicate?
     28    bool Any(Func<T, bool> predicate); // graph contains any nodes matching the given predicate?
    3129    void Clear(); // clear graph
    32     void AddNode(T t);
     30    void AddNode(T nodeData);
    3331    void RemoveNode(T t); // remove node if contained in the graph
    34     GenealogyGraphNode GetNode(T t); // return node corresponding to object t, or null
    35     // arc operation
     32    GenealogyGraphNode GetNode(T t); // return node corresponding to object nodeData, or null
    3633    void AddArc(T source, T target, object sourceData = null, object targetData = null);
    37     //void AddArcs(T[] a, T b);
    3834  }
    3935}
Note: See TracChangeset for help on using the changeset viewer.