$darkmode
DENOPTIM
denoptim.json.DENOPTIMgson Class Reference

Class for de/serializing DENOPTIM graphs from/to JSON format. More...

Collaboration diagram for denoptim.json.DENOPTIMgson:
[legend]

Classes

class  DENOPTIMExclusionStrategy
 
class  DENOPTIMExclusionStrategyNoAPMap
 

Static Public Member Functions

static Gson getReader ()
 
static Gson getWriter ()
 

Package Attributes

Gson reader
 
Gson writer
 

Private Member Functions

 DENOPTIMgson ()
 

Static Private Member Functions

static DENOPTIMgson getInstance ()
 

Static Private Attributes

static DENOPTIMgson instance = null
 

Detailed Description

Class for de/serializing DENOPTIM graphs from/to JSON format.

Definition at line 53 of file DENOPTIMgson.java.

Constructor & Destructor Documentation

◆ DENOPTIMgson()

denoptim.json.DENOPTIMgson.DENOPTIMgson ( )
private

Definition at line 63 of file DENOPTIMgson.java.

References denoptim.json.DENOPTIMgson.reader, and denoptim.json.DENOPTIMgson.writer.

Referenced by denoptim.json.DENOPTIMgson.getInstance().

Here is the caller graph for this function:

Member Function Documentation

◆ getInstance()

static DENOPTIMgson denoptim.json.DENOPTIMgson.getInstance ( )
staticprivate

Definition at line 119 of file DENOPTIMgson.java.

References denoptim.json.DENOPTIMgson.DENOPTIMgson(), and denoptim.json.DENOPTIMgson.instance.

Referenced by denoptim.json.DENOPTIMgson.getReader(), and denoptim.json.DENOPTIMgson.getWriter().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getReader()

◆ getWriter()

static Gson denoptim.json.DENOPTIMgson.getWriter ( )
static

Definition at line 135 of file DENOPTIMgson.java.

References denoptim.json.DENOPTIMgson.getInstance(), and denoptim.json.DENOPTIMgson.writer.

Referenced by denoptim.json.DENOPTIMgsonTest.testIAtomContainerToJSONAndBack(), denoptim.json.DENOPTIMgsonTest.testMolecularFragmentSerialization(), denoptim.json.DENOPTIMgsonTest.testTemplateSerialization(), denoptim.graph.DGraph.toJson(), denoptim.graph.EmptyVertex.toJson(), denoptim.graph.Fragment.toJson(), denoptim.graph.Template.toJson(), denoptim.io.DenoptimIO.writeGraphsToJSON(), and denoptim.io.DenoptimIO.writeVertexesToJSON().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ instance

DENOPTIMgson denoptim.json.DENOPTIMgson.instance = null
staticprivate

Definition at line 55 of file DENOPTIMgson.java.

Referenced by denoptim.json.DENOPTIMgson.getInstance().

◆ reader

Gson denoptim.json.DENOPTIMgson.reader
package

◆ writer

Gson denoptim.json.DENOPTIMgson.writer
package

The documentation for this class was generated from the following file: