org.apache.ctakes.dictionary.lookup.algorithms
Class PermutationUtil
java.lang.Object
org.apache.ctakes.dictionary.lookup.algorithms.PermutationUtil
public class PermutationUtil
- extends Object
- Author:
- Mayo Clinic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermutationUtil
public PermutationUtil()
getPermutationList
public static List<List<Integer>> getPermutationList(int maxLevel)
- Gets all permutations for the given level and all sub-levels.
- Parameters:
maxLevel
- -
getLinearPermutations
public static Collection<List<Integer>> getLinearPermutations(List<Integer> numList)
- Gets a collection of lists, each list represents a single permutation.
This permutation is composed of Integer objects in defined order.
- Parameters:
numList
- -
- Returns:
- -
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.