INGOR
Loading...
Searching...
No Matches
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
13Score * ScoreCache_init(Score * score, int p, int maxParents, size_t maxSize, int threads);
14double ScoreCache_score(void * buff, const int j, const int * parents, const int q);
15void ScoreCache_cache(void * buff, int enabled);
16void ScoreCache_reinit(void * buff, ytData * data);
17void ScoreCache_edgeProp(void * buff, const int j, const int * parents, const int q,
18 const int k, ytEdge * edge);
19void ScoreCache_nodeProp(void * buff, int j, ytNode * node);
20void ScoreCache_finalize(void * buff);
21void ScoreCache_partialResidual(void * buff, const int j, const int * parents, const int q,
22 FILE * fp[], double * ll);
23void ScoreCache_setEdgeProp(void * buff,
24 const int j, const int * parents,
25 const int q, const int k, const ytEdge * edge);
26void ScoreCache_setNodeProp(void * buff, const int j, const ytNode * node);
27void ScoreCache_status(void * buff);
28
29#endif /* __INGOR_SCORE_CACHE_H */
30
31/* End of file */
Network edge.
Definition Score.h:17
General data container.
Definition ytData.h:46
Network node.
Definition ytNode.h:15