IOperationCost Interface
Defines the functionality of operation costs

Namespace: CrawlerLib.Engine.OperationCost
Assembly: CrawlerLib.Engine (in CrawlerLib.Engine.dll) Version: 2.1.5266.17437 (2.1.5266.17437)
Syntax
public interface IOperationCost : ICloneable, 
	IComparable, IComparable<IOperationCost>

The IOperationCost type exposes the following members.

Methods
  NameDescription
Add
Adds the operation cost
Clone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
CompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparable.)
CompareTo(T)
Compares the current object with another object of the same type.
(Inherited from IComparable IOperationCost .)
Divide
Divides the operation cost through the specified factor.
Multiply
Multiplies the operation cost with the specified factor.
Sub
Subtracts the operation cost
Top
Properties
  NameDescription
Key
Gets the key.
Name
Gets the name.
Top
Remarks
Implementers MUST keep in mind, that operation costs can be aggregated to very high amounts. For example when operation costs of a year or a decade are aggregated. So the internal data types MUST be able to aggregate costs of billions of operations.
See Also