Skip to content

schubmult.combinatorics.chute_move_element

Chute moves on RC graphs: a marked-row wrapper tracking a before/after pair of RC graphs related by simultaneous chute moves on a chosen set of non-adjacent rows.

ChuteMoveElement Objects

class ChuteMoveElement(GridPrint)

An RC graph together with the result of applying chute moves at rows.

rows must be pairwise non-adjacent; for each row, moves the element hanging off the row's end down into the first available gap in the row below, raising ValueError if no valid chute move exists. Stores the pair (original, moved) RC graphs.

product

def product(other)

Stack self above other (via the underlying RC graph product) and combine their marked rows.

chute_degree

@property
def chute_degree()

Number of marked rows (simultaneous chute moves applied).

chute_move_rows

@property
def chute_move_rows()

The set of marked row indices.

cols

@property
def cols()

Number of columns of the underlying RC graph.

rows

@property
def rows()

Number of rows of the underlying RC graph.

@property
def print_element()

A GridPrint-compatible view highlighting the before/after cells at the marked rows.