ALValuesStackFlipping Class Reference

Inherits from ALValuesStack : NSObject
Declared in ALValuesStackFlipping.h

Overview

An implementation of the ValuesStack which support ROI which switch information.

– initWithSize:minimalEqualResults:allowSameValueConsecutively:acceptPartialResultSize:

Initialises a new values stack with a certain size, minEqualResult and if the same value consecutively is allowed.

- (instancetype)initWithSize:(NSInteger)size minimalEqualResults:(NSInteger)minEqualResults allowSameValueConsecutively:(BOOL)consecutivelyValue acceptPartialResultSize:(NSInteger)partialResultSize

Parameters

size

The size of the ValuesStack.

minEqualResults

The minimum equal results needed for a new result.

consecutivelyValue

indicator if consective same results are allowed.

partialResultSize

size for partialresult array to be accepted if other partial result = 0.

Return Value

new ValuesStack object.

Declared In

ALValuesStackFlipping.h

– initWithSize:minimalEqualResults:allowSameValueConsecutively:

Initialises a new values stack with a certain size, minEqualResult and if the same value consecutively is allowed.

- (instancetype)initWithSize:(NSInteger)size minimalEqualResults:(NSInteger)minEqualResults allowSameValueConsecutively:(BOOL)consecutivelyValue

Parameters

size

The size of the ValuesStack.

minEqualResults

The minimum equal results needed for a new result.

consecutivelyValue

indicator if consective same results are allowed.

Return Value

new ValuesStack object.

Declared In

ALValuesStackFlipping.h