Changeset 9419 for branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Interfaces
- Timestamp:
- 05/02/13 13:18:57 (11 years ago)
- Location:
- branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Interfaces
- Files:
-
- 1 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Interfaces/IGenericGraph.cs
r9236 r9419 25 25 26 26 namespace HeuristicLab.EvolutionaryTracking { 27 public interface I DirectedGraph<T> : IItem where T : class, IVertex {27 public interface IGenericGraph<T> : IItem where T : class, IVertex { 28 28 bool Contains(T t); // graph contains specific node? 29 29 bool Any(Func<T, bool> predicate); // graph contains any nodes matching the given predicate? -
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Interfaces/ISymbolicExpressionTreeGenealogyGraph.cs
r9082 r9419 24 24 25 25 namespace HeuristicLab.EvolutionaryTracking { 26 public interface ISymbolicExpressionTreeGenealogyGraph : I DirectedGraph<SymbolicExpressionGenealogyGraphNode> {26 public interface ISymbolicExpressionTreeGenealogyGraph : IGenericGraph<SymbolicExpressionGenealogyGraphNode> { 27 27 List<SymbolicExpressionGenealogyGraphNode> GetGraphNodes(ISymbolicExpressionTree tree); 28 28 } -
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Interfaces/IVertex.cs
r9082 r9419 25 25 public interface IVertex { 26 26 string Id { get; } 27 List<Arc> InEdges { get; } 28 List<Arc> OutEdges { get; } 27 List<IEdge> InEdges { get; } 28 List<IEdge> OutEdges { get; } 29 30 29 31 int InDegree { get; } 30 32 int OutDegree { get; } … … 38 40 39 41 void AddForwardArc(IVertex target, double weight = 0.0, object content = null); 40 void AddForwardArc( Arcarc);42 void AddForwardArc(IEdge arc); 41 43 void AddReverseArc(IVertex target, double weight = 0.0, object content = null); 42 void AddReverseArc( Arcarc);44 void AddReverseArc(IEdge arc); 43 45 } 44 46 }
Note: See TracChangeset
for help on using the changeset viewer.