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