org.dbe.eve.simulator
Class RequestVector
java.lang.Object
org.dbe.eve.simulator.RequestVector
public class RequestVector
- extends java.lang.Object
- Author:
- mokada
A request vector object that UMDA can use to significantly reduce the size
of the matrix. The EvESim does not make use of it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
request
private boolean[] request
random
private java.util.Random random
requestLength
private int requestLength
requestIndices
private java.util.ArrayList<java.lang.Integer> requestIndices
RequestVector
public RequestVector(int size)
RequestVector
public RequestVector(ZeroOneMatrix matrix)
readFile
public void readFile(java.lang.String fileinput)
randomRequest
public void randomRequest(double proportion)
printVector
public void printVector()
printVectorFile
public void printVectorFile(java.lang.String fileoutput)
getIndices
public java.util.ArrayList<java.lang.Integer> getIndices()
getLength
public int getLength()
getVector
public boolean[] getVector()