Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DuncanDoyle/94b937b403b7549a9e19c430b7ff455c to your computer and use it in GitHub Desktop.
Save DuncanDoyle/94b937b403b7549a9e19c430b7ff455c to your computer and use it in GitHub Desktop.
{
"processes" : [
{
"id": 0,
"requiredCpuPower": 1,
"requiredMemory": 1,
"requiredNetworkBandwidth": 1
},
{
"id": 1,
"requiredCpuPower": 3,
"requiredMemory": 1,
"requiredNetworkBandwidth": 1
},
{
"id": 2,
"requiredCpuPower": 11,
"requiredMemory": 1,
"requiredNetworkBandwidth": 1
},
{
"id": 3,
"requiredCpuPower": 1,
"requiredMemory": 1,
"requiredNetworkBandwidth": 1
},
{
"id": 4,
"requiredCpuPower": 5,
"requiredMemory": 4,
"requiredNetworkBandwidth": 1
},
{
"id": 5,
"requiredCpuPower": 5,
"requiredMemory": 2,
"requiredNetworkBandwidth": 1
},
{
"id": 6,
"requiredCpuPower": 1,
"requiredMemory": 1,
"requiredNetworkBandwidth": 2
},
{
"id": 7,
"requiredCpuPower": 1,
"requiredMemory": 1,
"requiredNetworkBandwidth": 7
},
{
"id": 8,
"requiredCpuPower": 1,
"requiredMemory": 1,
"requiredNetworkBandwidth": 5
},
{
"id": 9,
"requiredCpuPower": 7,
"requiredMemory": 5,
"requiredNetworkBandwidth": 1
},
{
"id": 10,
"requiredCpuPower": 3,
"requiredMemory": 3,
"requiredNetworkBandwidth": 1
},
{
"id": 11,
"requiredCpuPower": 1,
"requiredMemory": 1,
"requiredNetworkBandwidth": 1
}
],
"computers" : [
{
"id": 0,
"cpuPower": 24,
"memory": 96,
"networkBandwidth": 16,
"cost": 4800
},
{
"id": 1,
"cpuPower": 6,
"memory": 4,
"networkBandwidth": 6,
"cost": 660
},
{
"id": 2,
"cpuPower": 6,
"memory": 16,
"networkBandwidth": 4,
"cost": 680
},
{
"id": 3,
"cpuPower": 8,
"memory": 32,
"networkBandwidth": 12,
"cost": 1270
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment