|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSciLib.SP.Comm.Control
public final class Control
This class contains some methods to perform the communications Control techniques.
| Constructor Summary | |
|---|---|
Control()
|
|
| Method Summary | |
|---|---|
static integerVector |
BellmanFord(int[][] d,
int s,
int t)
Compute the least-cost path by Bellman-Ford Algorithm |
static integerVector |
BellmanFord(int[][] d,
int s,
int t,
int numLinks)
Compute the least-cost path by Bellman-Ford Algorithm |
static bitStream |
binaryDivision(bitStream M,
bitStream P)
Perform binary division between two bit strings |
static bitStream |
CRC_Transmitted(bitStream M,
bitStream P)
Generate the transmitted signal with the Cyclic Redundancy Check |
static boolean |
CRC(bitStream T,
bitStream P)
Perform a CRC check |
static integerVector |
Dijkstra(double[][] d,
int s,
int t)
Compute the least-cost path by Dijkstra Algorithm |
static integerVector |
Dijkstra(int[][] d,
int s,
int t)
Compute the least-cost path by Dijkstra Algorithm |
static integerVector |
Dijkstra(matrix d,
int s,
int t)
Compute the least-cost path by Dijkstra Algorithm |
static bitStream |
FCS(bitStream M,
bitStream P)
Generate the FCS of the Cyclic Redundancy Check |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Control()
| Method Detail |
|---|
public static bitStream binaryDivision(bitStream M,
bitStream P)
M - a bitStream, numeratorP - a bitStream, denominator
public static bitStream FCS(bitStream M,
bitStream P)
M - a bitStream messageP - a bitStream generator
public static bitStream CRC_Transmitted(bitStream M,
bitStream P)
M - a bitStream messageP - a bitStream generator
public static boolean CRC(bitStream T,
bitStream P)
T - the received dataP - a bitStream generator
public static integerVector Dijkstra(double[][] d,
int s,
int t)
d - the cost matrixs - the source, an integert - the destination, an integer
public static integerVector Dijkstra(int[][] d,
int s,
int t)
d - the cost matrixs - the source, an integert - the destination, an integer
public static integerVector Dijkstra(matrix d,
int s,
int t)
d - the cost matrixs - the source, an integert - the destination, an integer
public static integerVector BellmanFord(int[][] d,
int s,
int t,
int numLinks)
d - the cost matrixs - the source, an integert - the destination, an integer
public static integerVector BellmanFord(int[][] d,
int s,
int t)
d - the cost matrixs - the source, an integert - the destination, an integer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||