test_class.declarator: lookup = {1, 1, 2, 6, 24, 120, 720, 5040}
test_class.modifier: private final static
test_class.original_string: private final static int[] lookup = {1, 1, 2, 6, 24, 120, 720, 5040};
test_class.type: int[]
test_class.var_name: lookup
test_class.file: tool/group/src/test/java/org/openscience/cdk/group/PermutationGroupTest.java
test_class.identifier: PermutationGroupTest
test_class.superclass: extends CDKTestCase
test_case.body: @Test
      public void orderTest() {
          int size = 5;
          PermutationGroup sym = PermutationGroup.makeSymN(size);
          Assert.assertEquals(factorial(size), sym.order());
      }
test_case.class_method_signature: PermutationGroupTest.orderTest()
test_case.full_signature: @Test public void orderTest()
test_case.identifier: orderTest
test_case.invocations: makeSymN assertEquals factorial order
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void orderTest()
focal_class.declarator: permutations
focal_class.modifier: private
focal_class.original_string: private Permutation[][] permutations;
focal_class.type: Permutation[][]
focal_class.var_name: permutations
focal_class.declarator: size
focal_class.modifier: private final
focal_class.original_string: private final int       size;
focal_class.type: int
focal_class.var_name: size
focal_class.declarator: base
focal_class.modifier: private
focal_class.original_string: private Permutation     base;
focal_class.type: Permutation
focal_class.var_name: base
focal_class.file: tool/group/src/main/java/org/openscience/cdk/group/PermutationGroup.java
focal_class.identifier: PermutationGroup
focal_class.class_method_signature: PermutationGroup.PermutationGroup(int size)
focal_class.full_signature: public  PermutationGroup(int size)
focal_class.identifier: PermutationGroup
focal_class.modifiers: public
focal_class.parameters: (int size)
focal_class.signature:  PermutationGroup(int size)
focal_class.class_method_signature: PermutationGroup.PermutationGroup(Permutation base)
focal_class.full_signature: public  PermutationGroup(Permutation base)
focal_class.identifier: PermutationGroup
focal_class.modifiers: public
focal_class.parameters: (Permutation base)
focal_class.signature:  PermutationGroup(Permutation base)
focal_class.class_method_signature: PermutationGroup.PermutationGroup(int size, List<Permutation> generators)
focal_class.full_signature: public  PermutationGroup(int size, List<Permutation> generators)
focal_class.identifier: PermutationGroup
focal_class.modifiers: public
focal_class.parameters: (int size, List<Permutation> generators)
focal_class.signature:  PermutationGroup(int size, List<Permutation> generators)
focal_class.class_method_signature: PermutationGroup.makeSymN(int size)
focal_class.full_signature: public static PermutationGroup makeSymN(int size)
focal_class.identifier: makeSymN
focal_class.modifiers: public static
focal_class.parameters: (int size)
focal_class.return: PermutationGroup
focal_class.signature: PermutationGroup makeSymN(int size)
focal_class.class_method_signature: PermutationGroup.getSize()
focal_class.full_signature: public int getSize()
focal_class.identifier: getSize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSize()
focal_class.class_method_signature: PermutationGroup.order()
focal_class.full_signature: public long order()
focal_class.identifier: order
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long order()
focal_class.class_method_signature: PermutationGroup.get(int uIndex, int uSubIndex)
focal_class.full_signature: public Permutation get(int uIndex, int uSubIndex)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (int uIndex, int uSubIndex)
focal_class.return: Permutation
focal_class.signature: Permutation get(int uIndex, int uSubIndex)
focal_class.class_method_signature: PermutationGroup.getLeftTransversal(int index)
focal_class.full_signature: public List<Permutation> getLeftTransversal(int index)
focal_class.identifier: getLeftTransversal
focal_class.modifiers: public
focal_class.parameters: (int index)
focal_class.return: List<Permutation>
focal_class.signature: List<Permutation> getLeftTransversal(int index)
focal_class.class_method_signature: PermutationGroup.transversal(final PermutationGroup subgroup)
focal_class.full_signature: public List<Permutation> transversal(final PermutationGroup subgroup)
focal_class.identifier: transversal
focal_class.modifiers: public
focal_class.parameters: (final PermutationGroup subgroup)
focal_class.return: List<Permutation>
focal_class.signature: List<Permutation> transversal(final PermutationGroup subgroup)
focal_class.class_method_signature: PermutationGroup.apply(Backtracker backtracker)
focal_class.full_signature: public void apply(Backtracker backtracker)
focal_class.identifier: apply
focal_class.modifiers: public
focal_class.parameters: (Backtracker backtracker)
focal_class.return: void
focal_class.signature: void apply(Backtracker backtracker)
focal_class.class_method_signature: PermutationGroup.backtrack(int l, Permutation g, Backtracker backtracker)
focal_class.full_signature: private void backtrack(int l, Permutation g, Backtracker backtracker)
focal_class.identifier: backtrack
focal_class.modifiers: private
focal_class.parameters: (int l, Permutation g, Backtracker backtracker)
focal_class.return: void
focal_class.signature: void backtrack(int l, Permutation g, Backtracker backtracker)
focal_class.class_method_signature: PermutationGroup.all()
focal_class.full_signature: public List<Permutation> all()
focal_class.identifier: all
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Permutation>
focal_class.signature: List<Permutation> all()
focal_class.class_method_signature: PermutationGroup.changeBase(Permutation newBase)
focal_class.full_signature: public void changeBase(Permutation newBase)
focal_class.identifier: changeBase
focal_class.modifiers: public
focal_class.parameters: (Permutation newBase)
focal_class.return: void
focal_class.signature: void changeBase(Permutation newBase)
focal_class.class_method_signature: PermutationGroup.enter(Permutation g)
focal_class.full_signature: public void enter(Permutation g)
focal_class.identifier: enter
focal_class.modifiers: public
focal_class.parameters: (Permutation g)
focal_class.return: void
focal_class.signature: void enter(Permutation g)
focal_class.class_method_signature: PermutationGroup.test(Permutation permutation)
focal_class.full_signature: public int test(Permutation permutation)
focal_class.identifier: test
focal_class.modifiers: public
focal_class.parameters: (Permutation permutation)
focal_class.return: int
focal_class.signature: int test(Permutation permutation)
focal_class.class_method_signature: PermutationGroup.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public long order() {
          // A group may have a size larger than Integer.MAX_INTEGER
          // (2 ** 32 - 1) - for example sym(13) is larger.
          long total = 1;
          for (int i = 0; i < size; i++) {
              int sum = 0;
              for (int j = 0; j < size; j++) {
                  if (this.permutations[i][j] != null) {
                      sum++;
                  }
              }
              total *= sum;
          }
          return total;
      }
focal_method.class_method_signature: PermutationGroup.order()
focal_method.full_signature: public long order()
focal_method.identifier: order
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: long
focal_method.signature: long order()