All Classes and Interfaces
Class
Description
The base Activity class that Blackbird is based on.
A list of Activity objects.
Utility class for storing off metadata about activity types (which are only defined in the Activity base class)
for easier input/output.
Custom exception for adaptation errors to prevent them from doing things the engine won't like but are syntactically correct Java.
The base ArrayedResource class allows adapters to declare many base resources in one line,
and then index into them in activities with string indices.
This class takes in a command string, parses it, and issues the
appropriate command.
Custom exception for commands.
This class manages writing to a 'flat' TOL CSV-like file, a legacy format that certain missions might request due to
its smaller size than XMLTOL.
Implementation of ModelingEngine that uses ArrayBlockingQueue objects for
synchronization between threads.
Invoking the INCON command to the engine with a file ends up creating one of these activities,
which sits in the modeling queue just like any other activity and jumps all resources it is given
to the values it is given at the handoff time
This class produces a JSON TOL originally meant to provide input to Elasticsearch.
This class takes in a class object and object array of parameters
for that class and then instantiates the class.
Custom exception for reflection.
The base abstract Resource class that all others inherit from.
This interface is implemented by Resources and Arrayed Resources (which have a composition, not inheritance, relation with Resource)
It is used *only* by the reflection methods to print things out to the XMLTOL, and should never be referred to in modeling
This iterates in time order over all the resources handed to it in the constructor
We can't just use Guava's multi-iterator because instead of needing the <Time, Value>
pair, we need the Resource,Entry<Time, V> triple for XMLTOL and condition checking
The sequence engine is MUCH simpler than the modeling engine
because we only need to execute each sequence section in order
by start time of each activity.
A Waiter is an object stored by the engine that tells it to run a certain function (Activity model())
at a certain time.
This interface is what Activity objects have copies of in order to move forward (or maybe eventually backward)
in simulated time.
This command writes out one of several file types depending on the input name.
This class just takes a list of TOLRecords and one by one writes them to a StringBuilder - intended for use
to be passed into a thread pool by an XMLTOLWriter
This class produces an XMLTOL, which contains all resource, activity, and constraint information available in the planning
engine at the time it was written in a very hierarchical, non-flattened format.