RUS  ENG
Full version
JOURNALS // Proceedings of the Institute for System Programming of the RAS // Archive

Proceedings of ISP RAS, 2019 Volume 31, Issue 4, Pages 97–112 (Mi tisp441)

This article is cited in 2 papers

Designing classes’ interfaces for neural network graph model

Yu. L. Karpova, I. A. Volkovab, A. A. Vylitokb, L. E. Karpovcb, Yu. G. Smetaninde

a Luxoft Professional LLC
b Lomonosov Moscow State University
c Ivannikov Institute for System Programming of RAS
d Moscow Institute of Physics and Technology
e Federal Research Center “Informatics and Control” of RAS

Abstract: An approach to testing artificial neural networks is described. The model of neural network is based on graph theory, and operations that are used in theoretical works devoted to graphs, trees, paths, cycles, and circuits. The methods are implemented in a C++ program in the form of a set of data structures and algorithms for their processing. C++ classes are used as data structures for implementing the processing of such objects as a graph vertex, edge, oriented and undirected graph, spanning tree, circuit. Lists of standard methods (constructors and destructors, different assigning operations) are given for all classes. Additional operations are represented in details, and among them - adding one graph to another graph, adding an edge to a graph, removing edges and vertices from graph, normalizing graph, and some more. Many different searching operations are offered. Variants of graph sorting operations are also included into graph model, some of them are similar to array sorting algorithms, and some are more specific. Above these low-level operations several more complex operations are considered as graph model components. These operations include building spanning tree for arbitrary graph, building cograph for spanning tree of a graph, discovering circuits in a graph, evaluating of circuit sign, and so on. Examples of the interfaces of the most important overloaded operations on the objects used are given. An example is given of implementation of one of testing procedures where overloaded operations of graph model objects are used.

Keywords: artificial neuron network, heuristic, neuron network testing, graph theory, graph, vertex, edge, spanning tree, circuit in graph, negative circuit.

DOI: 10.15514/ISPRAS-2019-31(4)-6



© Steklov Math. Inst. of RAS, 2024