-/* Copyright (c) 2014-2019. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2014-2020. 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. */
void parse_specific_arguments(ClusterCreationArgs* cluster) override;
void seal() override;
- void rankId_to_coords(int rank_id, unsigned int coords[4]);
+ void rankId_to_coords(int rank_id, unsigned int coords[4]) const;
private:
void generate_routers();
void generate_links();
- void create_link(const std::string& id, int numlinks, resource::LinkImpl** linkup, resource::LinkImpl** linkdown);
+ void create_link(const std::string& id, int numlinks, resource::LinkImpl** linkup,
+ resource::LinkImpl** linkdown) const;
simgrid::s4u::Link::SharingPolicy sharing_policy_;
double bw_ = 0;