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

Describes an entry in the Sparse-Break-Matrix. We have a (sorted) list of individual entries, which save a force and an individual break-list. the sorting is just be number of lines (which is just the length of the associated list) More...

Public Member Functions

 GRPenaltyEntry (float fpenalty, int pindex1, int pindex2)
 
 GRPenaltyEntry (GRPenaltyEntry *ptpe1, GRPenaltyEntry *ptpe2)
 
intlistGetBreakList (intlist *mybreaklist)
 

Protected Attributes

float penalty
 
union {
   GRPenaltyEntry *   pe
 
   int   index
 
entry1
 
union {
   GRPenaltyEntry *   pe
 
   int   index
 
entry2
 
int ispointerentry
 

Friends

class GRBreakMatrix
 

Detailed Description

Describes an entry in the Sparse-Break-Matrix. We have a (sorted) list of individual entries, which save a force and an individual break-list. the sorting is just be number of lines (which is just the length of the associated list)

Constructor & Destructor Documentation

◆ GRPenaltyEntry() [1/2]

GRPenaltyEntry::GRPenaltyEntry ( float  fpenalty,
int  pindex1,
int  pindex2 
)

◆ GRPenaltyEntry() [2/2]

GRPenaltyEntry::GRPenaltyEntry ( GRPenaltyEntry ptpe1,
GRPenaltyEntry ptpe2 
)

Member Function Documentation

◆ GetBreakList()

intlist* GRPenaltyEntry::GetBreakList ( intlist mybreaklist)

Friends And Related Function Documentation

◆ GRBreakMatrix

friend class GRBreakMatrix
friend

Member Data Documentation

◆ entry1

union { ... } GRPenaltyEntry::entry1

◆ entry2

union { ... } GRPenaltyEntry::entry2

◆ index

int GRPenaltyEntry::index

◆ ispointerentry

int GRPenaltyEntry::ispointerentry
protected

◆ pe

GRPenaltyEntry* GRPenaltyEntry::pe

◆ penalty

float GRPenaltyEntry::penalty
protected

Guido Project Copyright © 2019 Grame-CNCM