Jazz 1.25.+
Loading...
Searching...
No Matches
model.h
1/* Jazz (c) 2018-2025 kaalam.ai (The Authors of Jazz), using (under the same license):
2
3 1. Biomodelling - The AATBlockQueue class (c) Jacques BasaldĂșa, 2009-2012 licensed
4 exclusively for the use in the Jazz server software.
5
6 Copyright 2009-2012 Jacques BasaldĂșa
7
8 2. BBVA - Jazz: A lightweight analytical web server for data-driven applications.
9
10 Copyright 2016-2017 Banco Bilbao Vizcaya Argentaria, S.A.
11
12 This product includes software developed at
13
14 BBVA (https://www.bbva.com/)
15
16 3. LMDB, Copyright 2011-2017 Howard Chu, Symas Corp. All rights reserved.
17
18 Licensed under http://www.OpenLDAP.org/license.html
19
20
21 Licensed under the Apache License, Version 2.0 (the "License");
22 you may not use this file except in compliance with the License.
23 You may obtain a copy of the License at
24
25 http://www.apache.org/licenses/LICENSE-2.0
26
27 Unless required by applicable law or agreed to in writing, software
28 distributed under the License is distributed on an "AS IS" BASIS,
29 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30 See the License for the specific language governing permissions and
31 limitations under the License.
32*/
33
34
35#include "src/jazz_models/sem_spaces.h"
36
37#if defined CATCH_TEST
38#ifndef INCLUDED_JAZZ_CATCH2
39#define INCLUDED_JAZZ_CATCH2
40
41#include "src/catch2/catch.hpp"
42
43#endif
44#endif
45
46
47#ifndef INCLUDED_JAZZ_MODELS_MODEL
48#define INCLUDED_JAZZ_MODELS_MODEL
49
50
55namespace jazz_models
56{
57
60class Model : public Container {
61
62//TODO: A Model has entrypoints http://localhost:8888/jazz_reference/api_ref_model.html#models-in-modelsapi
63//TODO: Every Model supports run and id (Document that)
64//TODO: A model is no longer a base in the ModelAPI, it is an entity. Review all doc and update.
65
66 public:
67
68 Model(pLogger a_logger, pConfigFile a_config);
69 ~Model();
70
73};
74typedef Model *pModel;
75
76} // namespace jazz_models
77
78#endif // ifndef INCLUDED_JAZZ_MODELS_MODEL
A configuration file as a key/value store.
Definition utils.h:217
Container: A Service to manage Jazz blocks. All Jazz blocks are managed by this or a descendant of th...
Definition container.h:282
A simple logger.
Definition utils.h:245
Model: A Space of Concepts.
Definition model.h:60
StatusCode start()
Definition model.cpp:60
StatusCode shut_down()
Definition model.cpp:78
int StatusCode
Type returned by the Service API.
Definition utils.h:141
Concepts: A tree of Snippets with support fro blending that populates a semantic space.
Definition concept.cpp:39
Model * pModel
A pointer to a Model.
Definition model.h:74