% This is an Example File for the Setup Data needed by the Placement Cost Metric.
% This Example is to be specifically used with the Example Graphs underlay1.graphml and operatorgraph1.graphml
% Lines that start with a percent sign as well as empty lines will be ignored by the parser.
% File Endings like .txt are irrelevant for these files.

% The lines with actual content have to follow these strict rules:
% The first line must be the String "operatorIDs: ", followed by the IDs of the nodes of the Operator Graph this Metric is meant to be used with. 
% The second line must be the String "underlayIDs: ", followed by the IDs of the nodes of the Underlay Graph this Metric is meant to be used with.
% All following Lines are the actual data in Matrix form, with the Rows being the Operator Nodes and the Columns being the Underlay Nodes. The Data Type is Double.

% The Order of the Operator Node IDs and Underlay Node IDs are independent of the order they appear in the graphml files, but they dictate the order of the Data in the Matrix.
% All individual Data points must be separated by Commas.
% Node IDs and Device Types are case sensitive.
% If this is to be used with more than one operator graph, make sure that the node IDs in the operator graphs are unique. 
% If a node with id "n1" exists in two operator graphs, they will both use the first line marked "n1" in the Cost Matrix.

%In this particular example the value of 4.2 in row 3, column 4 means that the cost of maping the operator node with ID n2 onto the Underlay Node with ID n3 is 4.2

operatorIDs: n0, n1, n2, n3
underlayIDs: n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16

0, 2.5, 1, 3, 1.1, 2.71828, 0.2, 0.5, 0, 0, 3.14159, 1.45, 0.0, 0.0, 0.0, 0.0, 1.0
1.0, 0.0, 2.0, 1.6, 1.2, 2.7, 3.0, 0.0, 0.0, 1.1, 4.2, 0.4, 1.0, 1.2, 5.1, 4.2, 0.0
1.3, 3.7, 0.0, 4.2, 0.0, 8.0, 0.8, 5.0, 1.0, 0.0, 2.3, 0.1, 1.0, 1.2, 5.1, 4.2, 0.0
2.8, 0.4, 1.9, 9.6, 0.0, 0.0, 0.6, 0.9, 1.9, 9.5, 0.1, 0.0, 1.0, 1.2, 5.1, 4.2, 0.0