NuriKit
v0.1.0b2
Toggle main menu visibility
Loading...
Searching...
No Matches
include
nuri
algo
guess.h
Go to the documentation of this file.
1
//
2
// Project NuriKit - Copyright 2023 SNU Compbio Lab.
3
// SPDX-License-Identifier: Apache-2.0
4
//
5
6
#ifndef NURI_ALGO_GUESS_H_
7
#define NURI_ALGO_GUESS_H_
8
9
#include <absl/base/attributes.h>
10
11
#include "
nuri/core/molecule.h
"
12
13
namespace
nuri
{
14
constexpr
double
kDefaultThreshold
= 0.5;
15
31
ABSL_MUST_USE_RESULT
extern
bool
32
guess_everything
(
MoleculeMutator
&mut,
int
conf = 0,
33
double
threshold =
kDefaultThreshold
);
34
45
extern
void
guess_connectivity
(
MoleculeMutator
&mut,
int
conf = 0,
46
double
threshold =
kDefaultThreshold
);
47
59
ABSL_MUST_USE_RESULT
extern
bool
guess_all_types
(
Molecule
&mol,
int
conf = 0);
60
70
extern
void
guess_fcharge_2d
(
Molecule
&mol);
71
80
extern
void
guess_hydrogens_2d
(
Molecule
&mol);
81
89
extern
void
guess_fcharge_hydrogens_2d
(
Molecule
&mol);
90
91
namespace
internal {
92
ABSL_MUST_USE_RESULT
extern
bool
guess_update_subs(
Molecule
&mol);
93
}
// namespace internal
94
}
// namespace nuri
95
96
#endif
/* NURI_ALGO_GUESS_H_ */
nuri::MoleculeMutator
A class to mutate a molecule.
Definition
molecule.h:1772
nuri::Molecule
Read-only molecule class.
Definition
molecule.h:943
molecule.h
nuri
Definition
crdgen.h:16
nuri::guess_fcharge_hydrogens_2d
void guess_fcharge_hydrogens_2d(Molecule &mol)
Guess formal charges and implicit hydrogens of a molecule.
nuri::guess_hydrogens_2d
void guess_hydrogens_2d(Molecule &mol)
Guess hydrogens of a molecule.
nuri::guess_fcharge_2d
void guess_fcharge_2d(Molecule &mol)
Guess formal charges of a molecule.
nuri::kDefaultThreshold
constexpr double kDefaultThreshold
Definition
guess.h:14
nuri::guess_all_types
ABSL_MUST_USE_RESULT bool guess_all_types(Molecule &mol, int conf=0)
Guess types of atoms and bonds, and number of hydrogens of a molecule.
nuri::guess_connectivity
void guess_connectivity(MoleculeMutator &mut, int conf=0, double threshold=kDefaultThreshold)
Guess connectivity information of a molecule.
nuri::guess_everything
ABSL_MUST_USE_RESULT bool guess_everything(MoleculeMutator &mut, int conf=0, double threshold=kDefaultThreshold)
Guess bonds, types of atoms, and number of hydrogens of a molecule.
Generated by
1.17.0