Search Results for

    Show / Hide Table of Contents

    Class gParallel

    Inheritance
    Object
    gParallel
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class gParallel

    Methods

    BlockStartEnd(Int32, Int32, Action<Int32, Int32>, Int32, Boolean)

    Process indices [iStart,iEnd] inclusive by passing sub-intervals [start,end] to blockF. Blocksize is automatically determind unless you specify one. Iterate over [start,end] inclusive in each block

    Declaration
    public static void BlockStartEnd(int iStart, int iEnd, Action<int, int> blockF, int iBlockSize = -1, bool bDisableParallel = false)
    Parameters
    Type Name Description
    Int32 iStart
    Int32 iEnd
    Action<Int32, Int32> blockF
    Int32 iBlockSize
    Boolean bDisableParallel

    Evaluate(Action[])

    Evaluate input actions in parallel

    Declaration
    public static void Evaluate(params Action[] funcs)
    Parameters
    Type Name Description
    Action[] funcs

    ForEach_Sequential<T>(IEnumerable<T>, Action<T>)

    Declaration
    public static void ForEach_Sequential<T>(IEnumerable<T> source, Action<T> body)
    Parameters
    Type Name Description
    IEnumerable<T> source
    Action<T> body
    Type Parameters
    Name Description
    T

    ForEach<T>(IEnumerable<T>, Action<T>)

    Declaration
    public static void ForEach<T>(IEnumerable<T> source, Action<T> body)
    Parameters
    Type Name Description
    IEnumerable<T> source
    Action<T> body
    Type Parameters
    Name Description
    T
    In This Article
    Back to top ViRGIS VR GIS