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 getTest() {
          int size = 6;
          // group that could represent a hexagon (numbered clockwise from top)
          // p1 = a flip across the vertical, p2 = flip across the horizontal
          Permutation p1 = new Permutation(0, 5, 4, 3, 2, 1);
          Permutation p2 = new Permutation(3, 2, 1, 0, 5, 4);
          List<Permutation> generators = new ArrayList<Permutation>();
          generators.add(p1);
          generators.add(p2);
          PermutationGroup group = new PermutationGroup(size, generators);
  
          // the permutations in U0 all have 0 in the orbit of i
          // but fixing 0 cannot fix 1, so there is no such perm
          int uIndex = 0;
          int uSubIndex = 1;
          Permutation u01 = group.get(uIndex, uSubIndex);
          Assert.assertNull(u01);
  
          // however, 0 and 3 are in the same orbit by both flips
          uSubIndex = 3;
          Permutation u03 = group.get(uIndex, uSubIndex);
          List<Integer> orbit = u03.getOrbit(0);
          Assert.assertTrue(orbit.contains(uSubIndex));
      }
test_case.class_method_signature: PermutationGroupTest.getTest()
test_case.full_signature: @Test public void getTest()
test_case.identifier: getTest
test_case.invocations: add add get assertNull get getOrbit assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getTest()
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 Permutation get(int uIndex, int uSubIndex) {
          return this.permutations[uIndex][uSubIndex];
      }
focal_method.class_method_signature: PermutationGroup.get(int uIndex, int uSubIndex)
focal_method.full_signature: public Permutation get(int uIndex, int uSubIndex)
focal_method.identifier: get
focal_method.modifiers: public
focal_method.parameters: (int uIndex, int uSubIndex)
focal_method.return: Permutation
focal_method.signature: Permutation get(int uIndex, int uSubIndex)