Class RandomAcceptedStrings
Lets you retrieve random strings accepted by an Automaton.
Once created, call GetRandomAcceptedString(Random) to get a new string (in UTF-32 codepoints).
Inheritance
System.Object
RandomAcceptedStrings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Util.Automaton
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class RandomAcceptedStrings
Constructors
| Improve this Doc View SourceRandomAcceptedStrings(Automaton)
Declaration
public RandomAcceptedStrings(Automaton a)
Parameters
Type | Name | Description |
---|---|---|
Automaton | a |
Methods
| Improve this Doc View SourceGetRandomAcceptedString(Random)
Declaration
public int[] GetRandomAcceptedString(Random r)
Parameters
Type | Name | Description |
---|---|---|
System.Random | r |
Returns
Type | Description |
---|---|
System.Int32[] |