nns.c  1.0.1
Nanowire Network simulator
deserializer.h
Go to the documentation of this file.
1 
17 #ifndef DESERIALIZER_H
18 #define DESERIALIZER_H
19 
20 #include "device/network.h"
21 #include "device/component.h"
22 #include "interface/interface.h"
23 #include "interface/mea.h"
24 
37  datasheet* ds,
38  network_topology* nt,
39  char* path,
40  int id
41 );
42 
56  const datasheet ds,
57  const network_topology nt,
58  network_state* ns,
59  char* path,
60  int id,
61  int step
62 );
63 
75  char* path,
76  int nn_id,
77  int cc_id
78 );
79 
91 void deserialize_interface(interface* it, char* path, int id, int step);
92 
104 void deserialize_mea(MEA* mea, char* path, int id, int step);
105 
106 #endif /* DESERIALIZER_H */
Defines the structure and operations for connected components in a Nanowire Network.
void deserialize_component(connected_component *cc, char *path, int nn_id, int cc_id)
Deserialize a network connected component. NN_ID is the univocal identifier of the NN....
Definition: deserializer.c:73
void deserialize_network(datasheet *ds, network_topology *nt, char *path, int id)
Deserialize the static characteristics of the network from a file named "nanowire_network....
Definition: deserializer.c:16
void deserialize_mea(MEA *mea, char *path, int id, int step)
Deserialize the MEA of the network from a file named "mea_STEP.nns" where ID is the univocal identifi...
Definition: deserializer.c:115
void deserialize_interface(interface *it, char *path, int id, int step)
Deserialize the interface to the network from a file named "it_STEP.dat", where ID is the univocal id...
Definition: deserializer.c:90
void deserialize_state(const datasheet ds, const network_topology nt, network_state *ns, char *path, int id, int step)
Deserialize the state of the network from a file named "nanowire_state.ID.dat", where ID is the univo...
Definition: deserializer.c:50
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 ...
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