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.


Inner classes inherited from class eNTitanok.util.Veletlen
Veletlen.CsakDetException, Veletlen.DetHatarException, Veletlen.Egyenletes, Veletlen.Exponencialis, Veletlen.Generalo, Veletlen.Normalis, Veletlen.Poisson, Veletlen.Veges
 
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.
 
Fields inherited from class eNTitanok.util.Veletlen
csakDet, kovetkezo, random
 
Constructor Summary
Veletlen.Normalis(int a, int b)
           
Veletlen.Normalis(java.util.Random random, boolean csakDet, int a, int b, double m, double sigma)
           
 
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
 

Field Detail

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.
Constructor Detail

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)
Method Detail

general

public int general()
Generálja a következő véletlenszámot.
Specified by:
general in interface Veletlen.Generalo