public class SKDOriginDestMatrixODPairList extends java.util.ArrayList<SKDOriginDestMatrixODPair>
Constructor and Description |
---|
SKDOriginDestMatrixODPairList() |
Modifier and Type | Method and Description |
---|---|
void |
addAllPossibleOriginDestinationPairs(java.util.List<SKDOriginDestMatrixPointParams> originsList,
java.util.List<SKDOriginDestMatrixPointParams> destinationsList)
Populates the list with all possible combinations of origins in originsList and destinations in destinationsList
excluding the pairs where the origin is equal to the destination
|
public void addAllPossibleOriginDestinationPairs(java.util.List<SKDOriginDestMatrixPointParams> originsList, java.util.List<SKDOriginDestMatrixPointParams> destinationsList)
originsList
- list with the originsdestinationsList
- list with the destinations