Commit 43677bde authored by Markus Klinik's avatar Markus Klinik

describe resource frames

parent 60b33284
......@@ -12,10 +12,14 @@ Phase two uses these assignments to build schedules.
\subsection{Instance Definition}
A C2 instance definition consists of a list of resource definitions, a list of task definitions, a list of resource frame definitions, and a list of weights.
Resource frames specify resource affinity constraints.
A resource frame has a list of task definitions and a list of resource requirements.
Every resource requirement of a resource frame is by definition a resource requirement of all tasks in the frame, and assigning a resource to a frame requirement automatically assigns it to all tasks in the frame.
See figure \todo{TODO} for an example.
Every resource requirement of a resource frame is by definition a resource requirement of all tasks inside the frame, and assigning a resource to a frame requirement automatically assigns it to all tasks in the frame.
See \cref{fig:resource-frames} for an example.
There are two tasks, Prepare and Deploy, which both require an Operator.
The tasks are inside a resource frame that requires a Transport.
The meaning of this is that both tasks also require a Transport, and that the transport assigned to both tasks must be the same one.
\begin{figure}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment