Uses of Class
solvers.dataStructures.EnhancedVector
Packages that use EnhancedVector
Package
Description
Basis representations of the MoM and CoMoM exact solution algorithms of JMVA.
Comparators used to order the basis vectors of the MoM and CoMoM algorithms.
Data structures shared by the JMVA solvers (tuples, positions, lists and matrices).
-
Uses of EnhancedVector in solvers.basis
Method parameters in solvers.basis with type arguments of type EnhancedVectorModifier and TypeMethodDescriptionprotected voidBasis.setComparator(Comparator<EnhancedVector> comparator) A subclass can choose a vector comparator this method sets the comparator and uses it to sort the ordering -
Uses of EnhancedVector in solvers.basis.comparators
Classes in solvers.basis.comparators that implement interfaces with type arguments of type EnhancedVectorModifier and TypeClassDescriptionclassA comparator to sort an array of Enhanced Vectors, to be used by Basis objects.classA comparator to sort an array of Enhanced Vectors, to be used by Basis objects.classA comparator to sort an array of Enhanced Vectors, to be used by Basis objects.classA comparator to sort an array of Enhanced Vectors, to be used by Basis objects.Methods in solvers.basis.comparators with parameters of type EnhancedVectorModifier and TypeMethodDescriptionintSortVectorBinary.compare(EnhancedVector v1, EnhancedVector v2) Compares two PopulationCahngeVector objects according the order required for the fine grain Block Triangular Form.intSortVectorByhThenRmnz.compare(EnhancedVector v1, EnhancedVector v2) Compares two PopulationChangeVector objects.* for the fine grain Block Triangular Form.intSortVectorByRightmostNZ.compare(EnhancedVector v1, EnhancedVector v2) Compares two PopulationChangeVector objects.intSortVectorMatLab.compare(EnhancedVector v1, EnhancedVector v2) Compares two PopulationChangeVector objects according to the same order as in the MatLab implementation First vectors are compared at the number of non zero elements (h) Then the position of those elements Then the value at those positions, left to right leftmost non-zero is the smaller. -
Uses of EnhancedVector in solvers.dataStructures
Subclasses of EnhancedVector in solvers.dataStructuresModifier and TypeClassDescriptionclassThis class implements the MultiplicitiesVector object, which is used to store a multiplicities vector.classThis class implements the PopulationChangeVector object, which are used in in the definition of the CoMoM basis.classThis class implements the PopulationVector object, which is used to store a populations vector.Classes in solvers.dataStructures that implement interfaces with type arguments of type EnhancedVectorModifier and TypeClassDescriptionclassThis class extends the ArrayList<Integer> object class by adding several useful methods for operations encountered when dealing with the algorithms that compute the normalising constants.Methods in solvers.dataStructures that return EnhancedVectorModifier and TypeMethodDescriptionEnhancedVector.addVec(EnhancedVector b) Adds two vectors.EnhancedVector.copy()This method returns a copy of the current EnhancedVector object.EnhancedVector.subVec(EnhancedVector b) Methods in solvers.dataStructures with parameters of type EnhancedVectorModifier and TypeMethodDescriptionEnhancedVector.addVec(EnhancedVector b) Adds two vectors.MultiplicitiesVector.addVec(EnhancedVector b) PopulationVector.addVec(EnhancedVector b) intEnhancedVector.compareTo(EnhancedVector o) Compares two EnhancedVector objects according to the sum of their elements.protected voidEnhancedVector.copyTo(EnhancedVector destination) This method copies the current EnhancedVector to a new one.protected voidEnhancedVector.fillFromMyVector(EnhancedVector source) This method copies a source EnhancedVector to the current one.EnhancedVector.subVec(EnhancedVector b) PopulationVector.subVec(EnhancedVector b)