public class RgDefiniton extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RgDefiniton.EnumeratedExtension |
static class |
RgDefiniton.ScoredExtension |
Constructor and Description |
---|
RgDefiniton(Scaffold scaffold,
com.chemaxon.calculations.sc.util.IntListSet indices)
Construct.
|
Modifier and Type | Method and Description |
---|---|
void |
addFragment(RgFrag fragment)
Add fragment.
|
List<RgDefiniton.EnumeratedExtension> |
allSingleAtomExtensions()
All single atom based growth candidates.
|
List<RgFrag> |
getFragments()
Get fragments list.
|
com.chemaxon.calculations.sc.util.IntListSet |
getIndices()
Get covered RG indices.
|
int |
getTotalRealAtomCount()
Sum of chemical atom counts from all definitions.
|
List<RgDefiniton.ScoredExtension> |
scoreExtensions(List<RgDefiniton.EnumeratedExtension> in) |
String |
toString() |
String |
toString(boolean multiline)
Details into human readable String.
|
public RgDefiniton(Scaffold scaffold, com.chemaxon.calculations.sc.util.IntListSet indices)
scaffold
- Scaffoldindices
- Rn indices used by this group.IllegalArgumentException
- when indices is emptypublic void addFragment(RgFrag fragment)
fragment
- Fragment definition to addIllegalArgumentException
- when fragment is incompatiblepublic String toString(boolean multiline)
multiline
- Write multi line Stringpublic com.chemaxon.calculations.sc.util.IntListSet getIndices()
public int getTotalRealAtomCount()
public List<RgDefiniton.ScoredExtension> scoreExtensions(List<RgDefiniton.EnumeratedExtension> in)
public List<RgDefiniton.EnumeratedExtension> allSingleAtomExtensions()