This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#include "stdafx.h" | |
#include "KleinrockAI.h" | |
#include <iostream> | |
#include <vector> | |
#include "loaddistancepair.h" | |
int main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.gmail.kleinrock; | |
//Implementation of Kleinrock's Independence Assumption | |
public class KleinrockIA { | |
//private int n; // number of lines in the network | |
//private int[] r; // list of offered loads | |
//private int[] d; // list of edge distances | |
//private double W0; // Target delay in bps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.gmail.kleinrock; | |
//Implementation of Kleinrock's Independence Assumption | |
public class KleinrockIA { | |
private int n; // number of lines in the network | |
private int[] r; // list of offered loads | |
private int[] d; // list of edge distances | |
private double W0; // Target delay in bps |
NewerOlder