From bb30abcc614f26f0bb9db39501407a628cf2d5d3 Mon Sep 17 00:00:00 2001 From: Kaushik Narayan R <59662438+20kaushik02@users.noreply.github.com> Date: Sun, 15 May 2022 00:22:47 +0530 Subject: [PATCH] Added .gitignore, removed some comments --- .gitignore | 19 +++++++++++++++++++ sim.cc | 22 +--------------------- tcp-rl-env.cc | 20 -------------------- tcp-rl-env.h | 20 -------------------- tcp-rl.cc | 20 -------------------- tcp-rl.h | 20 -------------------- tcp_base.py | 6 ------ 7 files changed, 20 insertions(+), 107 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f0a343f --- /dev/null +++ b/.gitignore @@ -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 \ No newline at end of file diff --git a/sim.cc b/sim.cc index 1952e8e..f541465 100644 --- a/sim.cc +++ b/sim.cc @@ -1,24 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ -/* - * 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 - * Based on script: ./examples/tcp/tcp-variants-comparison.cc - * - * Topology: +/* Topology: * * Right Leafs (Clients) Left Leafs (Sinks) * | \ / | diff --git a/tcp-rl-env.cc b/tcp-rl-env.cc index de6577b..ad3457f 100644 --- a/tcp-rl-env.cc +++ b/tcp-rl-env.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 - */ - #include "tcp-rl-env.h" #include "ns3/tcp-header.h" #include "ns3/object.h" diff --git a/tcp-rl-env.h b/tcp-rl-env.h index 45eaff2..5283fef 100644 --- a/tcp-rl-env.h +++ b/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 - */ - #ifndef TCP_RL_ENV_H #define TCP_RL_ENV_H diff --git a/tcp-rl.cc b/tcp-rl.cc index c715d1a..259dd3a 100644 --- a/tcp-rl.cc +++ b/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 - */ - #include "tcp-rl.h" #include "tcp-rl-env.h" #include "ns3/tcp-header.h" diff --git a/tcp-rl.h b/tcp-rl.h index 317d0b5..35b739c 100644 --- a/tcp-rl.h +++ b/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 - */ - #ifndef TCP_RL_H #define TCP_RL_H diff --git a/tcp_base.py b/tcp_base.py index b81c8ee..338469c 100644 --- a/tcp_base.py +++ b/tcp_base.py @@ -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): """docstring for Tcp""" def __init__(self):