|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPRandomNumberGenerator
Provides access to the properties/methods of a geoprocessing random number generator object.
Method Summary | |
---|---|
int |
getSeed()
Gets the value, as a non-negative long, of the seed. |
int |
getType()
Gets the random number generator type. |
double |
getValue(String distribution)
Generates the next random number value. |
void |
initialize(int seed,
int type)
Initializes random generator seed and type. |
void |
reset()
Resets random number generator seed, type stays unchanged. |
Method Detail |
---|
int getSeed() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void initialize(int seed, int type) throws IOException, AutomationException
seed
- The seed (in)type
- A com.esri.arcgis.geoprocessing.esriRandomNumberGeneratorType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void reset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getValue(String distribution) throws IOException, AutomationException
distribution
- The distribution (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |