eNTitanok.util
Class Veletlen.Normalis
java.lang.Object
|
+--eNTitanok.util.Veletlen
|
+--eNTitanok.util.Veletlen.Normalis
- Enclosing class:
- Veletlen
- public static class Veletlen.Normalis
- extends Veletlen
- implements Veletlen.Generalo
[a,b)-n m várható értékű, sigma szórású,
normális eloszlású számok egészre kerekítettjeinél
$d$-vel nagyobb számokat generál.
Field Summary |
protected int |
a
Alsó határ, belelértendő az intervallumba. |
protected int |
b
Felső határ, nem tartozik az intervallumhoz. |
protected double |
m
Az eloszlás egyik paramétere, egyben várható értéke. |
protected double |
sigma
Az eloszlás másik paramétere, egyben szórása. |
Method Summary |
int |
general()
Generálja a következő véletlenszámot. |
Methods inherited from class eNTitanok.util.Veletlen |
csakDetet,
egyenletes,
egyenletes,
exponencialis,
exponencialis,
getRandom,
getUtolso,
normalis,
normalis,
normalis,
poisson,
poisson,
sorba,
sorbaDelta |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
a
protected int a
- Alsó határ, belelértendő az intervallumba.
b
protected int b
- Felső határ, nem tartozik az intervallumhoz.
m
protected double m
- Az eloszlás egyik paramétere, egyben várható értéke.
sigma
protected double sigma
- Az eloszlás másik paramétere, egyben szórása.
Veletlen.Normalis
public Veletlen.Normalis(java.util.Random random,
boolean csakDet,
int a,
int b,
double m,
double sigma)
- See Also:
Veletlen.Veletlen()
Veletlen.Normalis
public Veletlen.Normalis(int a,
int b)
general
public int general()
- Generálja a következő véletlenszámot.
- Specified by:
- general in interface Veletlen.Generalo