public class PaIntEParams
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_ALIGNMENT |
Constructor and Description |
---|
PaIntEParams() |
PaIntEParams(double[] params) |
PaIntEParams(PaIntEConstraintParams constraints) |
PaIntEParams(PaIntEParams params) |
PaIntEParams(ProsodicSentenceData sentence,
int wordIndex,
int sylIndex) |
PaIntEParams(java.lang.String encodedParams) |
Modifier and Type | Method and Description |
---|---|
double |
calc(double x) |
void |
clear() |
PaIntEParams |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
format() |
double |
getA1() |
double |
getA2() |
double |
getAlignment() |
double |
getB() |
double |
getC1() |
double |
getC2() |
double |
getD() |
double[] |
getParams()
Returns the params as an array, not including the alignment value!
|
double[] |
getParams(double[] params) |
int |
hashCode() |
static PaIntEParams |
parsePaIntEParams(java.lang.String s) |
void |
setA1(double a1) |
void |
setA2(double a2) |
void |
setAlignment(double alignment) |
void |
setB(double b) |
void |
setC1(double c1) |
void |
setC2(double c2) |
void |
setD(double d) |
void |
setParams(double[] params) |
void |
setParams(PaIntEConstraintParams constraints) |
void |
setParams(PaIntEParams params) |
void |
setParams(ProsodicSentenceData sentence,
int wordIndex,
int sylIndex) |
void |
setParams(java.lang.String encodedParams) |
java.lang.String |
toCompactString() |
java.lang.String |
toString() |
public static final double DEFAULT_ALIGNMENT
public PaIntEParams()
public PaIntEParams(PaIntEParams params)
public PaIntEParams(double[] params)
public PaIntEParams(PaIntEConstraintParams constraints)
public PaIntEParams(java.lang.String encodedParams)
public PaIntEParams(ProsodicSentenceData sentence, int wordIndex, int sylIndex)
public static PaIntEParams parsePaIntEParams(java.lang.String s)
public void clear()
public void setParams(PaIntEParams params)
public void setParams(PaIntEConstraintParams constraints)
public void setParams(double[] params)
public void setParams(ProsodicSentenceData sentence, int wordIndex, int sylIndex)
public void setParams(java.lang.String encodedParams)
public double[] getParams()
public double[] getParams(double[] params)
public double calc(double x)
public double getA1()
public double getA2()
public double getB()
public double getC1()
public double getC2()
public double getD()
public double getAlignment()
public void setA1(double a1)
a1
- the a1 to setpublic void setA2(double a2)
a2
- the a2 to setpublic void setB(double b)
b
- the b to setpublic void setC1(double c1)
c1
- the c1 to setpublic void setC2(double c2)
c2
- the c2 to setpublic void setD(double d)
d
- the d to setpublic void setAlignment(double alignment)
alignment
- the alignment to setpublic PaIntEParams clone()
clone
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String toCompactString()
public java.lang.String format()