Square Rotation Program (SQROT)
Technical Details
 SQROT 4.04  (March 2009)  
is the latest version 
 SQROT Main Page  |  Online Purchase     
 FAQ  |  Documentation  |  Technical Details  |  Revision History  |  Vic's To Do List 
 Download -->  Computer Cards  |  Program Upgrade 
 Sample screens -->  Main  |  Dynamic  |  Tip Display by Couple  |  Tip Display by Square  |  Settings 

How rotations are generated by the Square Rotation Program Square Rotation Program.
For each tip, the program proceeds as follows:
  1. If the number of 'ready' couples is not a multiple of 4, the program determines who will sit out by selecting couples who have sat out the fewest number of times, using a ratio of number of tips danced vs. number of tips sat out. If several couples have the same ratio, couples to sit out will be selected at random from those couples.
  2. A random rotation is generated.
  3. The following procedure is repeated until no more changes are possible or until the user clicks the 'abort process' button:
    1. For each pair of couples, a value is calculated indicating how often those two couples have danced together. This value is then subtracted from the optimal number of times that the couples should have danced together. The resulting value is then squared.
    2. All values are added together to produce a 'chi-square-like' statistic.
    3. Two couples (in different squares) are swapped within the rotation and the chi-square statistic is recalculated. If the new statistic is less than the old statistic, the new rotation is saved, otherwise, the previous rotation is restored.
    4. The process continues until the program has tried swapping every couple with every other couple and no decrease has occurred within the statistic.
  4. Square numbers are then assigned and 'optimized' in a similar manner (also using a 'chi-square' statistic) so that dancers move around between different squares on the floor.

Home: Square Dance Resource Net    
Databases: Articles    Callers and Cuers    Clubs    Events    FAQ    Records    Resources  
Special Events: AACE    Kirkwood C3A Week    iPAC    McCloud C3A Week  
Products: Definition Books    Ceder Square Dance System (CSDS)    Square Rotation Program (SQROT)  
Choreography: Choreography Database    Short Sequences    Getouts    Checker Cheats    Patter Sayings    Animation    Caller Notes  
Definitions and Lists: Definitions    More Definitions    Flash Cards    Foster Cards    Experimentals    Lists    Frequency Counts  
Vic and Family: Vic Ceder - Square Dance Caller    Pictures    Photo Archive  
Miscellaneous: Digital Music    Links    Web Site Info    Tools    Bande Déssinees    Chocolate Bars    Beanie Babies    Pokémon Cards    Fun and Games    FTP    Stan Winchester  
Contact Us: Contact Us    Upload a File    Site Feedback      

http://www.ceder.net/sqrot/sqrot_tech.php4
13-March-2010 22:50:31
Copyright © Vic Ceder.  All Rights Reserved.