INGOR
Loading...
Searching...
No Matches
score
ScoreCache.h
1
/*
2
score/ScoreCache.{h,c} : Score Cache
3
Copyright (C) 2018, Yoshinori Tamada <tamada A T ytlab.jp>
4
All rights reserved.
5
6
See LICENSE.txt for details of the licensing agreement.
7
*/
8
#ifndef __INGOR_SCORE_CACHE_H
9
#define __INGOR_SCORE_CACHE_H
10
11
#include "Score.h"
12
13
Score
* ScoreCache_init(
Score
* score,
int
p,
int
maxParents,
size_t
maxSize,
int
threads);
14
double
ScoreCache_score(
void
* buff,
const
int
j,
const
int
* parents,
const
int
q);
15
void
ScoreCache_cache(
void
* buff,
int
enabled);
16
void
ScoreCache_reinit(
void
* buff,
ytData
* data);
17
void
ScoreCache_edgeProp(
void
* buff,
const
int
j,
const
int
* parents,
const
int
q,
18
const
int
k,
ytEdge
* edge);
19
void
ScoreCache_nodeProp(
void
* buff,
int
j,
ytNode
* node);
20
void
ScoreCache_finalize(
void
* buff);
21
void
ScoreCache_partialResidual(
void
* buff,
const
int
j,
const
int
* parents,
const
int
q,
22
FILE * fp[],
double
* ll);
23
void
ScoreCache_setEdgeProp(
void
* buff,
24
const
int
j,
const
int
* parents,
25
const
int
q,
const
int
k,
const
ytEdge
* edge);
26
void
ScoreCache_setNodeProp(
void
* buff,
const
int
j,
const
ytNode
* node);
27
void
ScoreCache_status(
void
* buff);
28
29
#endif
/* __INGOR_SCORE_CACHE_H */
30
31
/* End of file */
ytEdge
Network edge.
Score
Definition
Score.h:17
ytData
General data container.
Definition
ytData.h:46
ytNode
Network node.
Definition
ytNode.h:15
Generated by
1.9.8