nns.c  1.0.1
Nanowire Network simulator
serializer.h
Go to the documentation of this file.
1 
23 #ifndef SERIALIZER_H
24 #define SERIALIZER_H
25 
26 #include "device/network.h"
27 #include "device/component.h"
28 #include "interface/interface.h"
29 #include "interface/mea.h"
30 
42  const datasheet ds,
43  const network_topology nt,
44  char* path,
45  int id
46 );
47 
61 void serialize_state(
62  const datasheet ds,
63  const network_topology nt,
64  const network_state ns,
65  char* path,
66  int id,
67  int step
68 );
69 
82  const connected_component cc,
83  char* path,
84  int nn_id,
85  int cc_id
86 );
87 
99 void serialize_interface(const interface it, char* path, int id, int step);
100 
112 void serialize_mea(const MEA mea, char* path, int id, int step);
113 
114 #endif /* SERIALIZER_H */
Defines the structure and operations for connected components in a Nanowire Network.
Defines the structure of the nanowire-network device interface to the external world.
Defines the Micro-Electrode Array (MEA) structure and related functions.
Defines the structures and functions used to model and simulate the topology and electrical state of ...
void serialize_mea(const MEA mea, char *path, int id, int step)
Serialize the network MEA to a file named "mea_STEP.nns" in a folder named "device_ID",...
Definition: serializer.c:95
void serialize_interface(const interface it, char *path, int id, int step)
Serialize the network interface to a file named "it_STEP.nns" in a folder named "device_ID",...
Definition: serializer.c:77
void serialize_network(const datasheet ds, const network_topology nt, char *path, int id)
Serialize the static characteristics of the Nanowire Network to a file named "nn.nns" in a folder nam...
Definition: serializer.c:15
void serialize_state(const datasheet ds, const network_topology nt, const network_state ns, char *path, int id, int step)
Serialize the network state (a.k.a. electrical equivalent circuit) to a file named "ns_STEP....
Definition: serializer.c:42
void serialize_component(const connected_component cc, char *path, int nn_id, int cc_id)
Serialize a connected component of a nanowire network to a file named "cc_CC_ID.nns" in a folder name...
Definition: serializer.c:61
Represent a Micro-Electrode Array of 16 electrodes (physically sound). Save their position and the in...
Definition: mea.h:29
Connected component of the Nanowire Network. It contains all the information needed to identify the n...
Definition: component.h:24
Defines the static characteristics of the device.
Definition: datasheet.h:16
Interface between the nanowire-network device and external systems.
Definition: interface.h:45
Electrical state of the Nanowire Network. It contains the varying values of the junctions and the vol...
Definition: network.h:47
Topology of the Nanowire Network. It contains information about the physical placement of nanowires a...
Definition: network.h:26