|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TaggedFormation | |
---|---|
net.cscott.sdr.calls | This package contains the square dance choreography engine, and the basic types and interfaces required to communicate with it. |
Uses of TaggedFormation in net.cscott.sdr.calls |
---|
Subclasses of TaggedFormation in net.cscott.sdr.calls | |
---|---|
class |
NamedTaggedFormation
Associates a name with a canonical formation. |
Fields in net.cscott.sdr.calls with type parameters of type TaggedFormation | |
---|---|
Map<Dancer,TaggedFormation> |
FormationMatch.matches
The FormationMatch.matches field is a map from phantom dancers
in the meta formation to real dancers in a tagged subformation. |
Methods in net.cscott.sdr.calls that return TaggedFormation | |
---|---|
TaggedFormation |
TaggedFormation.addTags(MultiMap<Dancer,TaggedFormation.Tag> newTags)
Add additional tags to the given formation. |
static TaggedFormation |
TaggedFormation.coerce(Formation f)
|
TaggedFormation |
TaggedFormation.map(Dancer... dancers)
Replace the dancers in this formation with the given dancers, specified in the "sorted dancers" order (left-to-right, top-to-bottom). |
TaggedFormation |
TaggedFormation.map(Map<Dancer,Dancer> map)
|
TaggedFormation |
TaggedFormation.mapStd(StandardDancer... dancers)
Special case of Formation.map(Dancer...) which allows you to specify
half the dancers, and fills in the rest with their opposites to
result in a symmetric formation. |
TaggedFormation |
TaggedFormation.move(Dancer d,
Position p)
|
TaggedFormation |
TaggedFormation.select(Collection<Dancer> d)
|
TaggedFormation |
DanceState.tagDesignated(Formation f)
Add the 'DESIGNATED' tag to the given Formation. |
Methods in net.cscott.sdr.calls with parameters of type TaggedFormation | |
---|---|
static void |
Tagger.addFrom(TaggedFormation template,
Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Find all instance of the tagged template formation in the given
given formation f , and add the tags from the template to the
set of tags on f given in tags . |
static FormationMatch |
GeneralFormationMatcher.doMatch(Formation input,
TaggedFormation goal,
boolean allowUnmatchedDancers,
boolean usePhantoms)
Attempt to match the input formation against the goal formation; you can have multiple rotated copies of the goal formation in the input. |
static Matcher |
GeneralFormationMatcher.makeMatcher(TaggedFormation... goals)
|
static Matcher |
MatcherList.mixed(String name,
TaggedFormation... goals)
|
abstract Set<Dancer> |
Selector.select(TaggedFormation tf)
Return the dancers selected by this Selector from the given
formation. |
Method parameters in net.cscott.sdr.calls with type arguments of type TaggedFormation | |
---|---|
static FormationMatch |
GeneralFormationMatcher.doMatch(Formation input,
List<TaggedFormation> goals,
boolean allowUnmatchedDancers,
boolean usePhantoms)
Allow multiple simultaneous goal formations. |
static Matcher |
GeneralFormationMatcher.makeMatcher(List<TaggedFormation> goals)
|
static Matcher |
GeneralFormationMatcher.makeMatcher(String name,
List<TaggedFormation> goals)
|
Constructors in net.cscott.sdr.calls with parameters of type TaggedFormation | |
---|---|
NamedTaggedFormation(String name,
TaggedFormation tf)
|
|
TaggedFormation(TaggedFormation tf,
Map<Dancer,Dancer> map)
|
Constructor parameters in net.cscott.sdr.calls with type arguments of type TaggedFormation | |
---|---|
FormationMatch(Formation meta,
Map<Dancer,TaggedFormation> matches,
Set<Dancer> unmatched)
|
|
sdr 0.7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |