+/* Copyright (c) 2013-2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#include "workstation_interface.hpp"
#include "storage_interface.hpp"
#include "cpu_interface.hpp"
* Model *
*********/
-class WorkstationCLM03Model : virtual public WorkstationModel {
+class WorkstationCLM03Model : public WorkstationModel {
public:
- WorkstationCLM03Model(const char *name);
WorkstationCLM03Model();
~WorkstationCLM03Model();
void parseInit(sg_platf_host_cbarg_t host);
double *computation_amount,
double *communication_amount,
double rate);
- xbt_dynar_t getRoute(WorkstationPtr src, WorkstationPtr dst);
ActionPtr communicate(WorkstationPtr src, WorkstationPtr dst, double size, double rate);
};
* Action *
**********/
-class WorkstationCLM03Action : public WorkstationAction {
-public:
- WorkstationCLM03Action(ModelPtr model, double cost, bool failed)
- : WorkstationAction(model, cost, failed) {}
-};
#endif /* SURF_WORKSTATION_CLM03_HPP_ */