net.cscott.sdr.calls
Class FormationList
java.lang.Object
net.cscott.sdr.calls.FormationList
public abstract class FormationList
- extends Object
A list of common formations, specified with phantoms.
- Tests:
Almost all standard formations are maximally "breathed in".
Diamonds are a special case. There should be "expanded" diamonds and
"compressed" diamonds. (Also the case for quarter tags?)
js> for (f in Iterator(FormationList.all)) {
> if (!Breather.breathe(f).equals(f)) {
> print("Unbreathed formation: "+f.getName());
> }
> }
Unbreathed formation: RH DIAMOND
Unbreathed formation: RH FACING DIAMOND
Unbreathed formation: LH DIAMOND
Unbreathed formation: LH FACING DIAMOND
Unbreathed formation: RH TWIN DIAMONDS
Unbreathed formation: LH TWIN DIAMONDS
Unbreathed formation: RH POINT-TO-POINT DIAMONDS
Unbreathed formation: RH POINT-TO-POINT FACING DIAMONDS
Unbreathed formation: LH POINT-TO-POINT DIAMONDS
Unbreathed formation: LH POINT-TO-POINT FACING DIAMONDS
Unbreathed formation: RH TWIN FACING DIAMONDS
Unbreathed formation: LH TWIN FACING DIAMONDS
Canonical formations should be centered.
js> for (f in Iterator(FormationList.all)) {
> if (!f.isCentered()) {
> print("Uncentered formation: "+f.getName());
> }
> } ; undefined
js> // note no output from the above.
Canonical formations should be oriented so that "most"
dancers are facing north or south. This seems to match standard
diagrams best.
js> ns = Rotation.fromAbsoluteString("|");
0 mod 1/2
js> for (f in Iterator(FormationList.all)) {
> l=[ns.includes(f.location(d).facing) for (d in Iterator(f.dancers()))]
> if ([b for each (b in l) if (b)].length <
> [b for each (b in l) if (!b)].length) {
> print("Unexpected orientation: "+f.getName());
> }
> } ; undefined
js> // note no output from the above.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLE_DANCER
public static final TaggedFormation SINGLE_DANCER
COUPLE
public static final TaggedFormation COUPLE
FACING_DANCERS
public static final TaggedFormation FACING_DANCERS
BACK_TO_BACK_DANCERS
public static final TaggedFormation BACK_TO_BACK_DANCERS
TANDEM
public static final TaggedFormation TANDEM
RH_MINIWAVE
public static final TaggedFormation RH_MINIWAVE
LH_MINIWAVE
public static final TaggedFormation LH_MINIWAVE
GENERAL_LINE
public static final TaggedFormation GENERAL_LINE
_2x2
public static final TaggedFormation _2x2
FACING_COUPLES
public static final TaggedFormation FACING_COUPLES
BACK_TO_BACK_COUPLES
public static final TaggedFormation BACK_TO_BACK_COUPLES
TANDEM_COUPLES
public static final TaggedFormation TANDEM_COUPLES
RH_OCEAN_WAVE
public static final TaggedFormation RH_OCEAN_WAVE
LH_OCEAN_WAVE
public static final TaggedFormation LH_OCEAN_WAVE
RH_BOX
public static final TaggedFormation RH_BOX
LH_BOX
public static final TaggedFormation LH_BOX
RH_TWO_FACED_LINE
public static final TaggedFormation RH_TWO_FACED_LINE
LH_TWO_FACED_LINE
public static final TaggedFormation LH_TWO_FACED_LINE
SINGLE_INVERTED_LINE
public static final TaggedFormation SINGLE_INVERTED_LINE
RH_DIAMOND
public static final TaggedFormation RH_DIAMOND
RH_FACING_DIAMOND
public static final TaggedFormation RH_FACING_DIAMOND
LH_DIAMOND
public static final TaggedFormation LH_DIAMOND
LH_FACING_DIAMOND
public static final TaggedFormation LH_FACING_DIAMOND
RH_SINGLE_PROMENADE
public static final TaggedFormation RH_SINGLE_PROMENADE
LH_SINGLE_PROMENADE
public static final TaggedFormation LH_SINGLE_PROMENADE
RH_SINGLE_QUARTER_TAG
public static final TaggedFormation RH_SINGLE_QUARTER_TAG
LH_SINGLE_QUARTER_TAG
public static final TaggedFormation LH_SINGLE_QUARTER_TAG
RH_SINGLE_THREE_QUARTER_TAG
public static final TaggedFormation RH_SINGLE_THREE_QUARTER_TAG
LH_SINGLE_THREE_QUARTER_TAG
public static final TaggedFormation LH_SINGLE_THREE_QUARTER_TAG
STATIC_SQUARE
public static final TaggedFormation STATIC_SQUARE
PROMENADE
public static final TaggedFormation PROMENADE
WRONG_WAY_PROMENADE
public static final TaggedFormation WRONG_WAY_PROMENADE
THAR
public static final TaggedFormation THAR
WRONG_WAY_THAR
public static final TaggedFormation WRONG_WAY_THAR
FACING_LINES
public static final TaggedFormation FACING_LINES
EIGHT_CHAIN_THRU
public static final TaggedFormation EIGHT_CHAIN_THRU
TRADE_BY
public static final TaggedFormation TRADE_BY
DOUBLE_PASS_THRU
public static final TaggedFormation DOUBLE_PASS_THRU
SINGLE_DOUBLE_PASS_THRU
public static final TaggedFormation SINGLE_DOUBLE_PASS_THRU
COMPLETED_DOUBLE_PASS_THRU
public static final TaggedFormation COMPLETED_DOUBLE_PASS_THRU
COMPLETED_SINGLE_DOUBLE_PASS_THRU
public static final TaggedFormation COMPLETED_SINGLE_DOUBLE_PASS_THRU
LINES_FACING_OUT
public static final TaggedFormation LINES_FACING_OUT
PARALLEL_RH_WAVES
public static final TaggedFormation PARALLEL_RH_WAVES
PARALLEL_LH_WAVES
public static final TaggedFormation PARALLEL_LH_WAVES
PARALLEL_RH_TWO_FACED_LINES
public static final TaggedFormation PARALLEL_RH_TWO_FACED_LINES
PARALLEL_LH_TWO_FACED_LINES
public static final TaggedFormation PARALLEL_LH_TWO_FACED_LINES
RH_COLUMN
public static final TaggedFormation RH_COLUMN
LH_COLUMN
public static final TaggedFormation LH_COLUMN
ENDS_IN_INVERTED_LINES
public static final TaggedFormation ENDS_IN_INVERTED_LINES
ENDS_OUT_INVERTED_LINES
public static final TaggedFormation ENDS_OUT_INVERTED_LINES
RH_QUARTER_TAG
public static final TaggedFormation RH_QUARTER_TAG
LH_QUARTER_TAG
public static final TaggedFormation LH_QUARTER_TAG
RH_THREE_QUARTER_TAG
public static final TaggedFormation RH_THREE_QUARTER_TAG
LH_THREE_QUARTER_TAG
public static final TaggedFormation LH_THREE_QUARTER_TAG
RH_QUARTER_LINE
public static final TaggedFormation RH_QUARTER_LINE
LH_QUARTER_LINE
public static final TaggedFormation LH_QUARTER_LINE
RH_THREE_QUARTER_LINE
public static final TaggedFormation RH_THREE_QUARTER_LINE
LH_THREE_QUARTER_LINE
public static final TaggedFormation LH_THREE_QUARTER_LINE
RH_TWIN_DIAMONDS
public static final TaggedFormation RH_TWIN_DIAMONDS
LH_TWIN_DIAMONDS
public static final TaggedFormation LH_TWIN_DIAMONDS
RH_POINT_TO_POINT_DIAMONDS
public static final TaggedFormation RH_POINT_TO_POINT_DIAMONDS
RH_POINT_TO_POINT_FACING_DIAMONDS
public static final TaggedFormation RH_POINT_TO_POINT_FACING_DIAMONDS
LH_POINT_TO_POINT_DIAMONDS
public static final TaggedFormation LH_POINT_TO_POINT_DIAMONDS
LH_POINT_TO_POINT_FACING_DIAMONDS
public static final TaggedFormation LH_POINT_TO_POINT_FACING_DIAMONDS
RH_TWIN_FACING_DIAMONDS
public static final TaggedFormation RH_TWIN_FACING_DIAMONDS
LH_TWIN_FACING_DIAMONDS
public static final TaggedFormation LH_TWIN_FACING_DIAMONDS
RH_TIDAL_WAVE
public static final TaggedFormation RH_TIDAL_WAVE
LH_TIDAL_WAVE
public static final TaggedFormation LH_TIDAL_WAVE
RH_TIDAL_TWO_FACED_LINE
public static final TaggedFormation RH_TIDAL_TWO_FACED_LINE
LH_TIDAL_TWO_FACED_LINE
public static final TaggedFormation LH_TIDAL_TWO_FACED_LINE
RH_TIDAL_LINE
public static final TaggedFormation RH_TIDAL_LINE
LH_TIDAL_LINE
public static final TaggedFormation LH_TIDAL_LINE
all
public static final List<Formation> all
- List of all formations defined in this class.
FormationList
public FormationList()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2006-2009 C. Scott Ananian