|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hu.birot.OTKit.learning.ConstraintMotionExamples
public class ConstraintMotionExamples
Includes a number of static methods that return instances of ConstraintMotion.
Constructor Summary | |
---|---|
ConstraintMotionExamples()
|
Method Summary | |
---|---|
static ConstraintMotion |
allDemotion(double plasticity)
Demote all loser-preferring constraints by plasticity . |
static ConstraintMotion |
antiMagri(double plasticity)
Reverse of Giorgio Magri's method of updating a hierarchy, based on ranking variable "rank". |
static ConstraintMotion |
Boersma(double plasticity)
Paul Boersma's method of updating a hierarchy, based on ranking variable "rank". |
static ConstraintMotion |
demotionOnly(double plasticity)
Demote highest ranked loser-preferring constraint by w * plasticity ,
where w is the number of winner-preferring constraints. |
static ConstraintMotion |
Magri(double plasticity)
Giorgio Magri's method of updating a hierarchy, based on ranking variable "rank". |
static ConstraintMotion |
singleDemotionOnly(double plasticity)
Demote highest ranked loser-preferring constraint by plasticity . |
static ConstraintMotion |
TesarSmolensky()
Tesar & Smolensky's method of updating a hierarchy, based on ranking variable "rank". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstraintMotionExamples()
Method Detail |
---|
public static ConstraintMotion TesarSmolensky()
Tesar & Smolensky's method of updating a hierarchy, based on ranking variable "rank".
Let W be the highest ranked constraint that prefers the winer. Then all loser-preferring constraints ranked higher than W will be assigned a rank equal to W's rank minus 1.
If both the winner and the loser are generated by some hierarchies, and they have different violation marks, then there must be both at least one winner-preferring constraint, as well as at least one loser-preferring constraints ranked higher than W. In other cases, there can be none. If there is no winner-preferring constraint, or if there is no loser-preferring constraint ranked higher than W, then the hierarchy will not be changed (and the return value of method update will be false.
public static ConstraintMotion Boersma(double plasticity)
Paul Boersma's method of updating a hierarchy, based on ranking variable "rank".
Demote all loser-preferring constraints by plasticity
,
and promote all winner-preferring constraint by plasticity
.
plasticity
- Value by which constraints are promoted or demoted.
public static ConstraintMotion Magri(double plasticity)
Giorgio Magri's method of updating a hierarchy, based on ranking variable "rank".
Promote all winner-preferring constraint by plasticity
,
and demote highest ranked loser-preferring constraint by w * plasticity
,
where w is the number of winner-preferring constraints.
plasticity
- Value by which constraints are promoted or demoted.
public static ConstraintMotion demotionOnly(double plasticity)
Demote highest ranked loser-preferring constraint by w * plasticity
,
where w is the number of winner-preferring constraints.
plasticity
- Value by which constraints are demoted.
public static ConstraintMotion singleDemotionOnly(double plasticity)
Demote highest ranked loser-preferring constraint by plasticity
.
plasticity
- Value by which constraints are demoted.
public static ConstraintMotion allDemotion(double plasticity)
Demote all loser-preferring constraints by plasticity
.
plasticity
- Value by which constraints are demoted.
public static ConstraintMotion antiMagri(double plasticity)
Reverse of Giorgio Magri's method of updating a hierarchy, based on ranking variable "rank".
Demote all loser-preferring constraint by plasticity, and promote lowest ranked winer-preferring constraints by l * plasticity, where l is the number of loser-preferring constraints.
plasticity
- Value by which constraints are promoted or demoted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |