Scippy

UG

Ubiquity Generator framework

BbParaMergeNodeInfo_ Struct Reference

Merge node information struct. More...

#include <bbParaNodesMerger.h>

Public Types

enum  {
  PARA_MERGING , PARA_MERGED_RPRESENTATIVE , PARA_MERGE_CHECKING_TO_OTHER_NODE , PARA_MERGED_TO_OTHER_NODE ,
  PARA_CANNOT_MERGE , PARA_DELETED
}
 

Public Attributes

enum UG::BbParaMergeNodeInfo_:: { ... }  status
 status of this ParaMargeNodeInfo More...
 
int nSameValueVariables
 the number of fixed values which are the same as those of the merged node More...
 
int nMergedNodes
 the number of merged nodes with this node. More...
 
int keyIndex
 The fixedVar of this index can reach all merging nodes. More...
 
int nFixedVariables
 the number of fixed variables More...
 
BbParaFixedVariablefixedVariables
 array of fixed variable info More...
 
BbParaMergeNodeInfomergedTo
 pointer to merge node info to which this node is merged *‍/ More...
 
BbParaNodeparaNode
 BbParaNode corresponding to this ParaMergeModeInfo *‍/. More...
 
BbParaDiffSubproblemorigDiffSubproblem
 original DiffSubproblem *‍/ More...
 
BbParaDiffSubproblemmergedDiffSubproblem
 merged DiffSubproblem, in case this node is merged and this is the head *‍/ More...
 
BbParaMergeNodeInfonext
 pointer to the next ParaMergeNodeInfo *‍/ More...
 

Detailed Description

Merge node information struct.

Definition at line 73 of file bbParaNodesMerger.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PARA_MERGING 

in merging process

PARA_MERGED_RPRESENTATIVE 

representative node for merging

PARA_MERGE_CHECKING_TO_OTHER_NODE 

checking possibility to merge with the other nodes

PARA_MERGED_TO_OTHER_NODE 

merged to the other node

PARA_CANNOT_MERGE 

cannot merge to the other node

PARA_DELETED 

this node is deleted

Definition at line 74 of file bbParaNodesMerger.h.

Member Data Documentation

◆ fixedVariables

◆ keyIndex

◆ mergedDiffSubproblem

◆ mergedTo

◆ next

◆ nFixedVariables

◆ nMergedNodes

int nMergedNodes

the number of merged nodes with this node.

  • This value > 0 : head
  • This value = 0 : merging to the other node
  • This value < 0 : no merging node

Definition at line 84 of file bbParaNodesMerger.h.

Referenced by BbParaNodesMerger::addNodeToMergeNodeStructs(), BbParaNodesMerger::deleteMergeNodeInfo(), BbParaNodesMerger::generateMergeNodesCandidates(), BbParaNodesMerger::mergeNodes(), BbParaLoadCoordinator::sendParaTasksToIdleSolvers(), and BbParaNode::~BbParaNode().

◆ nSameValueVariables

int nSameValueVariables

the number of fixed values which are the same as those of the merged node

  • This value < 0 means that this node is not merging target

Definition at line 82 of file bbParaNodesMerger.h.

Referenced by BbParaNodesMerger::addNodeToMergeNodeStructs(), and BbParaNodesMerger::generateMergeNodesCandidates().

◆ origDiffSubproblem

◆ paraNode

◆