$darkmode
DENOPTIM
denoptim.graph.FragmentTest Class Reference

Unit test for DENOPTIMFragment. More...

Public Member Functions

void testHandlingAPsAsObjOrProperty () throws Exception
 
void testConversionToIAC () throws Exception
 
void testClone () throws Exception
 
void testIsomorphicTo () throws Exception
 
void testIsomorphicInLinear () throws Exception
 

Static Public Member Functions

static Fragment makeFragment () throws DENOPTIMException
 
static Fragment makeFragmentA () throws DENOPTIMException
 
static Fragment makeFragmentB () throws DENOPTIMException
 Differs from the fragment produced by makeFragmentA() only by the identity of one atom. More...
 
static Fragment makeFragmentC () throws DENOPTIMException
 Differs from the fragment produced by makeFragmentA() only by the one APCLass. More...
 

Static Private Attributes

static final String APRULE = "MyRule"
 
static final String APSUBRULE = "1"
 
static final String APCLASS
 
static final String APCSEP = DENOPTIMConstants.SEPARATORAPPROPSCL
 

Detailed Description

Unit test for DENOPTIMFragment.

Author
Marco Foscato

Definition at line 46 of file FragmentTest.java.

Member Function Documentation

◆ makeFragment()

static Fragment denoptim.graph.FragmentTest.makeFragment ( ) throws DENOPTIMException
static

◆ makeFragmentA()

static Fragment denoptim.graph.FragmentTest.makeFragmentA ( ) throws DENOPTIMException
static

Definition at line 238 of file FragmentTest.java.

References denoptim.graph.Fragment.addAPOnAtom(), denoptim.graph.Fragment.addAtom(), denoptim.graph.Fragment.addBond(), and denoptim.graph.APClass.make().

Referenced by denoptim.graph.SymmetricAPsTest.testGetSameAsThis(), denoptim.graph.FragmentTest.testIsomorphicInLinear(), denoptim.graph.FragmentTest.testIsomorphicTo(), and denoptim.graph.SymmetricAPsTest.testSameAs().

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

◆ makeFragmentB()

static Fragment denoptim.graph.FragmentTest.makeFragmentB ( ) throws DENOPTIMException
static

Differs from the fragment produced by makeFragmentA() only by the identity of one atom.

Definition at line 267 of file FragmentTest.java.

References denoptim.graph.Fragment.addAPOnAtom(), denoptim.graph.Fragment.addAtom(), denoptim.graph.Fragment.addBond(), and denoptim.graph.APClass.make().

Referenced by denoptim.graph.FragmentTest.testIsomorphicTo().

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

◆ makeFragmentC()

static Fragment denoptim.graph.FragmentTest.makeFragmentC ( ) throws DENOPTIMException
static

Differs from the fragment produced by makeFragmentA() only by the one APCLass.

Definition at line 296 of file FragmentTest.java.

References denoptim.graph.Fragment.addAPOnAtom(), denoptim.graph.Fragment.addAtom(), denoptim.graph.Fragment.addBond(), and denoptim.graph.APClass.make().

Referenced by denoptim.graph.FragmentTest.testIsomorphicTo().

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

◆ testClone()

◆ testConversionToIAC()

◆ testHandlingAPsAsObjOrProperty()

◆ testIsomorphicInLinear()

void denoptim.graph.FragmentTest.testIsomorphicInLinear ( ) throws Exception

Definition at line 339 of file FragmentTest.java.

References denoptim.utils.DummyAtomHandler.addDummiesOnLinearities(), denoptim.graph.Fragment.isIsomorphicTo(), and denoptim.graph.FragmentTest.makeFragmentA().

Here is the call graph for this function:

◆ testIsomorphicTo()

void denoptim.graph.FragmentTest.testIsomorphicTo ( ) throws Exception

Definition at line 321 of file FragmentTest.java.

References denoptim.graph.Fragment.isIsomorphicTo(), denoptim.graph.FragmentTest.makeFragmentA(), denoptim.graph.FragmentTest.makeFragmentB(), and denoptim.graph.FragmentTest.makeFragmentC().

Here is the call graph for this function:

Member Data Documentation

◆ APCLASS

final String denoptim.graph.FragmentTest.APCLASS
staticprivate

◆ APCSEP

final String denoptim.graph.FragmentTest.APCSEP = DENOPTIMConstants.SEPARATORAPPROPSCL
staticprivate

Definition at line 52 of file FragmentTest.java.

Referenced by denoptim.graph.FragmentTest.testConversionToIAC().

◆ APRULE

final String denoptim.graph.FragmentTest.APRULE = "MyRule"
staticprivate

Definition at line 48 of file FragmentTest.java.

Referenced by denoptim.graph.FragmentTest.testConversionToIAC().

◆ APSUBRULE

final String denoptim.graph.FragmentTest.APSUBRULE = "1"
staticprivate

Definition at line 49 of file FragmentTest.java.


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