GreenCloud Simulator
|
#include <stdlib.h>
#include <vector>
#include <string.h>
#include <iostream>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | Capacity |
class | Resource |
Enumerations | |
enum | res_type |
Functions | |
bool | operator== (const Capacity &lhs, const Capacity &rhs) |
bool | operator!= (const Capacity &lhs, const Capacity &rhs) |
bool | operator< (const Capacity &lhs, const Capacity &rhs) |
bool | operator> (const Capacity &lhs, const Capacity &rhs) |
bool | operator<= (const Capacity &lhs, const Capacity &rhs) |
bool | operator>= (const Capacity &lhs, const Capacity &rhs) |
Capacity | operator+ (Capacity lhs, const Capacity &rhs) |
Capacity | operator- (Capacity lhs, const Capacity &rhs) |
bool | operator== (const Capacity &lhs, const double &rhs) |
bool | operator!= (const Capacity &lhs, const double &rhs) |
bool | operator< (const Capacity &lhs, const double &rhs) |
bool | operator> (const Capacity &lhs, const double &rhs) |
bool | operator<= (const Capacity &lhs, const double &rhs) |
bool | operator>= (const Capacity &lhs, const double &rhs) |
Capacity | operator+ (Capacity lhs, const double &rhs) |
Capacity | operator- (Capacity lhs, const double &rhs) |
enum res_type |
Enumerator | |
---|---|
Computing | |
Memory | |
Storage | |
Networking | |
FirstResType | |
LastResType |
Definition at line 19 of file resource.h.
Definition at line 48 of file resource.h.
|
inline |
Definition at line 65 of file resource.h.
Definition at line 54 of file resource.h.
Definition at line 71 of file resource.h.
Definition at line 59 of file resource.h.
Definition at line 76 of file resource.h.
Definition at line 49 of file resource.h.
|
inline |
Definition at line 66 of file resource.h.
Definition at line 51 of file resource.h.
|
inline |
Definition at line 68 of file resource.h.
Definition at line 47 of file resource.h.
|
inline |
Definition at line 64 of file resource.h.
Definition at line 50 of file resource.h.
|
inline |
Definition at line 67 of file resource.h.
Definition at line 52 of file resource.h.
|
inline |
Definition at line 69 of file resource.h.