Source

mosaic project - practice / docs / infile.json


{
    "from_machine":
        {
            "condition": "if (resource_load>90 && monetary_cost>0.8) return true else return false",
            single_task_variables:
                [ "resource_load", "monetary_cost"],

        },
    "to_machine":
        {
            "condition": "if (resource_load==min_resource_load && monetary_cost==min_monetary_cost)",
            single_task_variables:
                [ "resource_load","monetary_cost" ],
            all_tasks_variables:
                [ "min_resource_load","min_resource_load_threshold" ],
        }
}