Show / Hide Table of Contents

Interface IAlgorithm

Represents an algorithm which is not connected to any graph.

Namespace: GraphShape.Algorithms
Assembly: GraphShape.dll
Syntax
public interface IAlgorithm

Properties

| Improve this Doc View Source

State

Current computation state.

Declaration
ComputationState State { get; }
Property Value
Type Description
QuikGraph.Algorithms.ComputationState
| Improve this Doc View Source

SyncRoot

Synchronizer object.

Declaration
object SyncRoot { get; }
Property Value
Type Description
System.Object

Methods

| Improve this Doc View Source

Abort()

Abort the computation.

Declaration
void Abort()
| Improve this Doc View Source

Compute()

Runs the computation.

Declaration
void Compute()

Events

| Improve this Doc View Source

Aborted

Fired when the computation is aborted.

Declaration
event EventHandler Aborted
Event Type
Type Description
System.EventHandler
| Improve this Doc View Source

Finished

Fired when the computation is finished.

Declaration
event EventHandler Finished
Event Type
Type Description
System.EventHandler
| Improve this Doc View Source

Started

Fired when the computation start.

Declaration
event EventHandler Started
Event Type
Type Description
System.EventHandler
| Improve this Doc View Source

StateChanged

Fired when the computation state changed.

Declaration
event EventHandler StateChanged
Event Type
Type Description
System.EventHandler

Extension Methods

GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape