Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/11/12 17:29:55 (12 years ago)
Author:
bburlacu
Message:

#1772: Sanitized IGenealogyGraph interface, implemented new graph arc semantics (an arc signifies an interaction between the two nodes that it connects and has a data object containing specific information about the interaction).

File:
1 edited

Legend:

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

    r7792 r7799  
    3030    bool Any(Func<KeyValuePair<T, GenealogyGraphNode>, bool> predicate); // graph contains any nodes matching the given predicate?
    3131    void Clear(); // clear graph
    32     void AddNode(T t, double quality = 0.0, string label = "", double rank = 0, bool elite = false);
     32    void AddNode(T t);
    3333    void RemoveNode(T t); // remove node if contained in the graph
    3434    GenealogyGraphNode GetNode(T t); // return node corresponding to object t, or null
    3535    // arc operation
    36     void AddArc(T source, T target);
    37     void AddArcs(T[] a, T b);
     36    void AddArc(T source, T target, object sourceData = null, object targetData = null);
     37    //void AddArcs(T[] a, T b);
    3838  }
    3939}
Note: See TracChangeset for help on using the changeset viewer.