wolffd@0: function bnet = bnet_from_engine(engine) wolffd@0: % BNET_FROM_ENGINE Return the bnet structure stored inside the engine (inf_engine) wolffd@0: % bnet = bnet_from_engine(engine) wolffd@0: wolffd@0: bnet = engine.bnet; wolffd@0: wolffd@0: % We cannot write 'engine.bnet' without writing a 'subsref' function, wolffd@0: % since engine is an object with private parts. wolffd@0: % The bnet field should be the only thing external users of the engine should need access to. wolffd@0: % We do not pass bnet as a separate argument, since it could get out of synch with the one wolffd@0: % encoded inside the engine. wolffd@0: