public:
/** @brief Seal your AS once you're done adding content, and before routing stuff through it */
- virtual void Seal();
+ virtual void seal();
char *name();
As *father();;
xbt_dict_t children(); // Sub AS
: name_(xbt_strdup(name))
{
}
- void As::Seal()
+ void As::seal()
{
sealed_ = true;
}
namespace simgrid {
namespace surf {
-void AsDijkstra::Seal()
+void AsDijkstra::seal()
{
xbt_node_t node = NULL;
unsigned int cursor2, cursor;
class XBT_PRIVATE AsDijkstra : public AsRoutedGraph {
public:
AsDijkstra(const char*name, bool cached);
- void Seal() override;
+ void seal() override;
~AsDijkstra();
xbt_node_t routeGraphNewNode(int id, int graph_id);
}
}
-void AsFloyd::Seal(){
+void AsFloyd::seal(){
/* set the size of table routing */
size_t table_size = xbt_dynar_length(vertices_);
void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
void addRoute(sg_platf_route_cbarg_t route) override;
- void Seal() override;
+ void seal() override;
private:
/* vars to compute the Floyd algorithm. */
{
}
-void AsFull::Seal() {
+void AsFull::seal() {
int i;
sg_platf_route_cbarg_t e_route;
public:
AsFull(const char*name);
- void Seal() override;
+ void seal() override;
~AsFull();
void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
void sg_platf_new_AS_end()
{
xbt_assert(current_routing, "Cannot seal the current AS: none under construction");
- current_routing->Seal();
+ current_routing->seal();
current_routing = static_cast<simgrid::surf::AsImpl*>(current_routing->father());
if (TRACE_is_enabled())