GUIDOLib  1.7.7
Guido Engine Internal Documentation
Public Member Functions | Protected Attributes | List of all members
GRBreakMatrix Class Reference

Realises the "sparse"-matrix that operates on indexes and saves the penalties associated with a given piece. More...

Public Member Functions

 GRBreakMatrix ()
 
pentrylistGetAt (int row, int column)
 
void AddAt (int row, int column, GRPenaltyEntry *pe)
 
void ClearAt (int row, int column)
 

Protected Attributes

ppentryvector rows
 

Detailed Description

Realises the "sparse"-matrix that operates on indexes and saves the penalties associated with a given piece.

Constructor & Destructor Documentation

◆ GRBreakMatrix()

GRBreakMatrix::GRBreakMatrix ( )

Member Function Documentation

◆ AddAt()

void GRBreakMatrix::AddAt ( int  row,
int  column,
GRPenaltyEntry pe 
)

◆ ClearAt()

void GRBreakMatrix::ClearAt ( int  row,
int  column 
)

◆ GetAt()

pentrylist* GRBreakMatrix::GetAt ( int  row,
int  column 
)

Member Data Documentation

◆ rows

ppentryvector GRBreakMatrix::rows
protected

Guido Project Copyright © 2019 Grame-CNCM