Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
Gecode::Int::Cumulative::OmegaNode Class Reference

Node for an omega tree. More...

#include <cumulative.hh>

Public Member Functions

void init (const OmegaNode &l, const OmegaNode &r)
 Initialize node from left child l and right child r.
 
void update (const OmegaNode &l, const OmegaNode &r)
 Update node from left child l and right child r.
 

Public Attributes

long long int e
 Energy for subtree.
 
long long int env
 Energy envelope for subtree.
 

Detailed Description

Node for an omega tree.

Definition at line 547 of file cumulative.hh.

Member Function Documentation

◆ init()

void Gecode::Int::Cumulative::OmegaNode::init ( const OmegaNode & l,
const OmegaNode & r )
inline

Initialize node from left child l and right child r.

Definition at line 46 of file tree.hpp.

◆ update()

void Gecode::Int::Cumulative::OmegaNode::update ( const OmegaNode & l,
const OmegaNode & r )
inline

Update node from left child l and right child r.

Definition at line 51 of file tree.hpp.

Member Data Documentation

◆ e

long long int Gecode::Int::Cumulative::OmegaNode::e

Energy for subtree.

Definition at line 550 of file cumulative.hh.

◆ env

long long int Gecode::Int::Cumulative::OmegaNode::env

Energy envelope for subtree.

Definition at line 552 of file cumulative.hh.


The documentation for this class was generated from the following files: