C# Класс BitsetsNET.Tests.SetGenerator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetContiguousArray ( int start, int end ) : int[]
GetContiguousArrayWithExceptions ( int start, int end, int exceptions ) : int[]

Knocks out a few selected values from a contiguous array to allow meaningful difference testing.This would ordinarily be done by just using GetContiguousArray and flipping the bits off with Set() or Flip(), but those are not currently Implemented in RLE.

GetRandomArray ( int length, int maxNumberOfOnes ) : int[]

Приватные методы

Метод Описание
SetGenerator ( ) : System

Описание методов

GetContiguousArray() публичный статический Метод

public static GetContiguousArray ( int start, int end ) : int[]
start int
end int
Результат int[]

GetContiguousArrayWithExceptions() публичный статический Метод

Knocks out a few selected values from a contiguous array to allow meaningful difference testing.This would ordinarily be done by just using GetContiguousArray and flipping the bits off with Set() or Flip(), but those are not currently Implemented in RLE.
public static GetContiguousArrayWithExceptions ( int start, int end, int exceptions ) : int[]
start int
end int
exceptions int
Результат int[]

GetRandomArray() публичный статический Метод

public static GetRandomArray ( int length, int maxNumberOfOnes ) : int[]
length int
maxNumberOfOnes int
Результат int[]