Interface IComputation
Represents a computation of something with control states.
Namespace: QuikGraph.Algorithms
Assembly: QuikGraph.dll
Syntax
public interface IComputation
Properties
| Improve this Doc View SourceState
Current computation state.
Declaration
ComputationState State { get; }
Property Value
Type | Description |
---|---|
ComputationState |
SyncRoot
Synchronizer object.
Declaration
object SyncRoot { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceAbort()
Abort the computation.
Declaration
void Abort()
Compute()
Runs the computation.
Declaration
void Compute()
Events
| Improve this Doc View SourceAborted
Fired when the computation is aborted.
Declaration
event EventHandler Aborted
Event Type
Type | Description |
---|---|
System.EventHandler |
Finished
Fired when the computation is finished.
Declaration
event EventHandler Finished
Event Type
Type | Description |
---|---|
System.EventHandler |
Started
Fired when the computation start.
Declaration
event EventHandler Started
Event Type
Type | Description |
---|---|
System.EventHandler |
StateChanged
Fired when the computation state changed.
Declaration
event EventHandler StateChanged
Event Type
Type | Description |
---|---|
System.EventHandler |