本次澳洲代写是一个C++分布式系统的assignment
Important Notes
Handins:
- You must do this assignment individually and make individual submissions.
- Your program should be coded in C++ and pass test runs on 4 test files. The sample
input and output files are downloadable in \Assignments” of the course home page
(https://myuni.adelaide.edu.au/courses/64886/assignments/238277). - You need to use svn to upload and run your source code in the web submission system
following \Web-submission instructions” stated at the end of this sheet. You should
attach your name and student number in your submission. - Late submissions will attract a penalty: the maximum mark you can obtain will be
reduced by 25% per day (or part thereof) past the due date or any extension you are
granted.
The assignment
In this assignment you are required to code a traffic packet clustering engine to cluster the raw
network packet to different applications, such as http, smtp. To accomplish this assignment, a
data preprocessing module and a clustering module should be implemented.
You will have two input files, and you should print two(undergraduate) or three(postgraduate)
output files.
0.1 Input File:
The input file1 contains a distance threshold and the raw network packet information, that is,
seven attributes of a packet: source address, source port, destination address, destination port,
protocol, arrival time, and packet length.
1. Input file1.txt is sample traffic ow information, which looks like:
src addr src port dst addr dst port protocol arrival time packet length
202.234.224.254 49880 31.65.181.210 80 6 115258 52
202.234.224.254 49880 31.65.181.210 80 6 115307 52
202.234.35.144 55256 74.39.124.220 443 6 115310 46
119.188.179.82 50592 150.79.7.129 80 6 115314 40
202.234.224.254 49880 31.65.181.210 80 6 115341 52
119.188.179.82 50592 150.79.7.129 80 6 115350 40
119.188.179.82 50592 150.79.7.129 80 6 115363 40
2. Input file2.txt has a number K, and on the next line include K integer numbers represent
an initial set of K medoids, which looks like:
1 (k=1)
0 (Start from index 0, as the initial start medoid)