-/* $Id$ */
-/* Copyright (c) 2007 Kayo Fujiwara. All rights reserved. */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 "tcp-newreno.h"
#include "event.h"
#include "routing-manual.h"
+#include "red.h"
using namespace std;
public:
GTSim();
+ GTSim(int WindowSize);
~GTSim();
public:
int add_link(int id, double bandwidth, double latency);
Simulator *sim_;
GTNETS_Topology *topo_;
RoutingManual *rm_;
+ REDQueue *red_queue_;
int nnode_;
int is_topology_;
int nflow_;