test
Class VN

java.lang.Object
  extended by test.VN

public class VN
extends java.lang.Object

Author:
Flavio Esposito testing class to acquire a VN from adj matrix

Constructor Summary
VN(int n)
           
 
Method Summary
 int getElement(int row, int column)
           
 int[][] getH()
           
 int getRows()
           
 void setElement(int row, int column, int value)
           
 void setH(int[][] h)
           
 void setRows(int rows)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VN

public VN(int n)
Method Detail

setElement

public void setElement(int row,
                       int column,
                       int value)
Parameters:
row -
column -

getElement

public int getElement(int row,
                      int column)
Parameters:
row -
column -
Returns:
element

getH

public int[][] getH()
Returns:
the h

setH

public void setH(int[][] h)
Parameters:
h - the h to set

getRows

public int getRows()
Returns:
the rows

setRows

public void setRows(int rows)
Parameters:
rows - the rows to set