The Error
trait is used to report errors showing the class and method within
which the error or flaw occurred.
The Identifiable
trait provides unique identification for simulation components,
entities and events.
The Locatable
trait provides location information/coordinates for objects
(e.
The PQItem
trait should be mixed in for items going on a PQueue.
The PQueue
class provides a simple linear implementation for priority queues.
The SortedLinkedHashMap
class extends the scala LinkedHashMap
class.
The Sorting
class provides direct and indirect methods to:
The SortingD
class provides direct and indirect methods to:
The CommentExtractor
object is used to extract comments from source code
(for example to send it to a spell checker).
The FloatLiteral
object is used to add '0' to floating point literals, which end in a
dot ('.
The Identifiable
object is used to generate unique identifiers.
The Monitor
object is used to trace the actions/events in the models.
The PQueueTest
object is used to test the PQueue
class.
The Replace
object is used to replace pattern pat1 with pat2.
The SortedLinkedHashMapTest
object is used to test the SortedLinkedHashMap
class.
The Sorting
companion object provides shortcuts for calling methods from
the Sorting
class.
The SortingD
companion object provides shortcuts for calling methods from
the SortingD
class.
The SortingDTest
object is used to test the correctness and performance
of the 'median' and 'imedian' methods in the SortingD
class.
The SortingDTest2
object is used to test the correctness and performance
of the 'qsort' and 'iqsort' sorting methods in the SortingD
class.
The SortingDTest3
object is used to test the correctness and performance
of the 'selsort' and 'iselsort' sorting methods in the SortingD
class.
The SortingDTest4
object is used to test the correctness and performance
of the 'qsort2' and 'iqsort2' sorting methods in the SortingD
class.
The SortingDTest5
object is used to test the correctness and performance
of the 'selsort2' and 'iselsort2' sorting methods in the SortingD
class.
The SortingTest
object is used to test the correctness and performance
of the methods in the Sorting
class that find 'k'-medians.
The SortingTest2
object is used to test the correctness and performance
of the sorting methods in the Sorting
class.
The Swap
class provides a method to swap elements in an Array or ArrayBuffer.
This object is used to test the Swap object.
The TestBreak
object provides an example of how to use "breaks" in Scala.
The Timer
object allow any component that imports it in to easily time
blocks of code.
The util package contains classes, traits and objects for basic utility functions.