代码搜索结果
找到约 10,000 项符合
Protocol 的代码
protocol_task.c
/*C*****************************************************************************
* FILE_NAME : protocol_task.c
*---------------------------------
parallel_protocol.m
function [bel, niter] = parallel_protocol(engine, evidence, pot_type, local_kernel, msg)
bnet = bnet_from_engine(engine);
ns = bnet.node_sizes;
onodes = find(~isemptycell(evidence));
ndoms = length(
tree_protocol.m
function bel = tree_protocol(engine, evidence, pot_type, local_kernel, msg)
bnet = bnet_from_engine(engine);
ns = bnet.node_sizes;
onodes = find(~isemptycell(evidence));
ndoms = length(engine.gdl.do
parallel_protocol.m
function [msg, niter] = parallel_protocol(engine, evidence, msg)
bnet = bnet_from_engine(engine);
N = length(bnet.dag);
ns = bnet.node_sizes(:);
if ~isempty(engine.filename)
fid = fopen(engine.fil
tree_protocol.m
function msg = tree_protocol(engine, evidence, msg)
bnet = bnet_from_engine(engine);
N = length(bnet.dag);
% Send messages from leaves to root
for i=1:N-1
n = engine.postorder(i);
above
object_protocol.hpp
// Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef OB
http_protocol.c
/* Copyright 1999-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c
http_protocol.h
/* Copyright 1999-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c
protocol_stream.h
// Protocol_Stream.h,v 1.6 2003/08/19 15:08:26 schmidt Exp
#ifndef PROTOCOL_STREAM_H
#define PROTOCOL_STREAM_H
#include "ace/SOCK_Stream.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma onc
protocol_task.cpp
// Protocol_Task.cpp,v 1.6 2003/08/19 15:08:26 schmidt Exp
#include "Protocol_Task.h"
#include "ace/ACE.h"
// Construct the object and remember the thread count.
Protocol_Task::Protocol_Task