mirror of
https://github.com/20kaushik02/TCP-RL.git
synced 2025-12-06 06:34:06 +00:00
Added .gitignore, removed some comments
This commit is contained in:
parent
44717b8f3e
commit
bb30abcc61
19
.gitignore
vendored
Normal file
19
.gitignore
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Byte-compiled / optimized / DLL files
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
|
||||||
|
# C extensions
|
||||||
|
*.so
|
||||||
|
|
||||||
|
# Environments
|
||||||
|
.env
|
||||||
|
.venv
|
||||||
|
env/
|
||||||
|
venv/
|
||||||
|
ENV/
|
||||||
|
env.bak/
|
||||||
|
venv.bak/
|
||||||
|
|
||||||
|
# Log files
|
||||||
|
*.log
|
||||||
22
sim.cc
22
sim.cc
@ -1,24 +1,4 @@
|
|||||||
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
|
/* Topology:
|
||||||
/*
|
|
||||||
* Copyright (c) 2018 Piotr Gawlowicz
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
|
||||||
* published by the Free Software Foundation;
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* Author: Piotr Gawlowicz <gawlowicz.p@gmail.com>
|
|
||||||
* Based on script: ./examples/tcp/tcp-variants-comparison.cc
|
|
||||||
*
|
|
||||||
* Topology:
|
|
||||||
*
|
*
|
||||||
* Right Leafs (Clients) Left Leafs (Sinks)
|
* Right Leafs (Clients) Left Leafs (Sinks)
|
||||||
* | \ / |
|
* | \ / |
|
||||||
|
|||||||
@ -1,23 +1,3 @@
|
|||||||
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2018 Technische Universität Berlin
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
|
||||||
* published by the Free Software Foundation;
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* Author: Piotr Gawlowicz <gawlowicz@tkn.tu-berlin.de>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "tcp-rl-env.h"
|
#include "tcp-rl-env.h"
|
||||||
#include "ns3/tcp-header.h"
|
#include "ns3/tcp-header.h"
|
||||||
#include "ns3/object.h"
|
#include "ns3/object.h"
|
||||||
|
|||||||
20
tcp-rl-env.h
20
tcp-rl-env.h
@ -1,23 +1,3 @@
|
|||||||
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2018 Technische Universität Berlin
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
|
||||||
* published by the Free Software Foundation;
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* Author: Piotr Gawlowicz <gawlowicz@tkn.tu-berlin.de>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef TCP_RL_ENV_H
|
#ifndef TCP_RL_ENV_H
|
||||||
#define TCP_RL_ENV_H
|
#define TCP_RL_ENV_H
|
||||||
|
|
||||||
|
|||||||
20
tcp-rl.cc
20
tcp-rl.cc
@ -1,23 +1,3 @@
|
|||||||
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2018 Technische Universität Berlin
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
|
||||||
* published by the Free Software Foundation;
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* Author: Piotr Gawlowicz <gawlowicz@tkn.tu-berlin.de>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "tcp-rl.h"
|
#include "tcp-rl.h"
|
||||||
#include "tcp-rl-env.h"
|
#include "tcp-rl-env.h"
|
||||||
#include "ns3/tcp-header.h"
|
#include "ns3/tcp-header.h"
|
||||||
|
|||||||
20
tcp-rl.h
20
tcp-rl.h
@ -1,23 +1,3 @@
|
|||||||
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2018 Technische Universität Berlin
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
|
||||||
* published by the Free Software Foundation;
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
*
|
|
||||||
* Author: Piotr Gawlowicz <gawlowicz@tkn.tu-berlin.de>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef TCP_RL_H
|
#ifndef TCP_RL_H
|
||||||
#define TCP_RL_H
|
#define TCP_RL_H
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,3 @@
|
|||||||
__author__ = "Piotr Gawlowicz"
|
|
||||||
__copyright__ = "Copyright (c) 2018, Technische Universität Berlin"
|
|
||||||
__version__ = "0.1.0"
|
|
||||||
__email__ = "gawlowicz@tkn.tu-berlin.de"
|
|
||||||
|
|
||||||
|
|
||||||
class Tcp(object):
|
class Tcp(object):
|
||||||
"""docstring for Tcp"""
|
"""docstring for Tcp"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user