HoldemHand.Hand.RandomHands C# (CSharp) Method

RandomHands() public static method

Iterates through random hands that meets the specified requirements until the specified time duration has elapse. Please note that this iterator requires interop. If you need and interop free mask evaluator you should remove this function along with the other interop functions in this file.
public static RandomHands ( int ncards, double duration ) : IEnumerable
ncards int The number of cards in the returned mask.
duration double The amount of time to allow the generation of hands to occur. When elapsed, the iterator will terminate.
return IEnumerable
        public static IEnumerable<ulong> RandomHands(int ncards, double duration)
        {
            return RandomHands(0UL, 0UL, ncards, duration);
        }

Same methods

Hand::RandomHands ( int ncards, int trials ) : IEnumerable
Hand::RandomHands ( string query, ulong dead, int ncards, double duration ) : IEnumerable
Hand::RandomHands ( ulong list, ulong dead, int ncards, double duration ) : IEnumerable
Hand::RandomHands ( ulong shared, ulong dead, int ncards, int trials ) : IEnumerable