/**
 * Copyright (c) 2012 by Tyson Gern
 * Licensed under the MIT License 
 */

import java.util.*;

/**
 * This class stores an element of a Coxeter group of rank "rank" as a
 * signed permutation, oneLine.  The methods contained in this class
 * can preform elementary operations on the element.
 * @author Tyson Gern (tygern@gmail.com)
 */
abstract class EvenElement extends Element {

}

@@ -382,10 +382,204 @@
 ment %7B%0A%0A
+    protected int countNeg() %7B%0A        int count = 0;%0A        %0A        for (int i = 1; i %3C= size; i++) %7B%0A            if (mapsto(i) %3C 0) count ++;%0A        %7D%0A        %0A        return count;%0A    %7D%0A%0A
 %7D%0A

Add sign counting for future use in type B length function.