A period is a contiguous sequence of phase ids in some run. It is coded as follows:
sign, always 0: 1 bit run id: 17 bits last phase id: 7 bits duration: 7 bits (a.k.a. #phases before last)
This encoding ensures the < and > operators can be delegated as-is to code, making them cheap.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
The intersection of two periods
The intersection of two periods
Attributes
Does this period contain the given period? i.e., (run1 == run2) & (last1 >= last2) & (first1 <= first2)
Does this period contain the given period? i.e., (run1 == run2) & (last1 >= last2) & (first1 <= first2)
Attributes
Same as containsPhaseId, except the first phase of this period isn't included in the range being tested
Same as containsPhaseId, except the first phase of this period isn't included in the range being tested
Attributes
The first phase of this period
The first phase of this period
Attributes
The last phase of this period
The last phase of this period
Attributes
Does this period overlap with given period?
Does this period overlap with given period?
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.
The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.
Attributes
Inherited methods
A fallback text representation, if the pattern matching in Printers does not have a case for this showable element
A fallback text representation, if the pattern matching in Printers does not have a case for this showable element
Attributes
- Inherited from:
- Showable
The string representation of this showable element.
The string representation with each line after the first one indented by the given given margin (in spaces).
The string representation with each line after the first one indented by the given given margin (in spaces).
Attributes
- Inherited from:
- Showable
The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.
The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.
Attributes
- Inherited from:
- Showable