Class MatrixList

java.lang.Object
  extended byMatrixList

public class MatrixList
extends java.lang.Object

This method is used in the generation of Ramanujan-LPS graph vertices. Since the vertices of Ramanujan-LPS graph are some precalculated matrices, they have to be calculated. Created by IntelliJ IDEA. User: Max B. Date: Nov 4, 2004 Time: 9:33:04 PM


Field Summary
private  java.util.Vector list
          A list used to save the Matrices created.
 
Constructor Summary
MatrixList(int q)
          C-tor of the class.
 
Method Summary
 int checkIntegrity()
          This method checks wheather there are "proportional" matrices in the list generated, if there are, then the list is wrong.
 void generateMatrixList(int q)
          This method generates the matrixes to be entered to the list themselves and enters them to the list.
 java.util.Vector getList()
          Public accessor
 int length()
           
 MyMatrix MatrixAt(int i)
          Public accessor
 void printMatrixList()
          Prints the matrixes on the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

private java.util.Vector list
A list used to save the Matrices created.

Constructor Detail

MatrixList

public MatrixList(int q)
C-tor of the class. The duty of the c-tor is to initialie whatever values need initialization and vreate a list of matrixes which are not alike in the sence of multiplication

Parameters:
q -
Method Detail

checkIntegrity

public int checkIntegrity()
This method checks wheather there are "proportional" matrices in the list generated, if there are, then the list is wrong.

Returns:
returns number of proportional matrices found, 0 for none.

generateMatrixList

public void generateMatrixList(int q)
This method generates the matrixes to be entered to the list themselves and enters them to the list.

Parameters:
q -

getList

public java.util.Vector getList()
Public accessor

Returns:

length

public int length()
Returns:
returns the number of generated matrixes

MatrixAt

public MyMatrix MatrixAt(int i)
Public accessor

Parameters:
i -
Returns:

printMatrixList

public void printMatrixList()
Prints the matrixes on the list.