![]() |
Rosetta
2021.16
|
#include <Chunk.hh>

Public Member Functions | |
| Chunk (RegionOP region, MoveMapOP movable) | |
| Default constructor <region> describes the contiguous stretch of residues. <movable> describes the modifiable degrees of freedom in the system. More... | |
| Chunk (const Chunk &other) | |
| Copy constructor. More... | |
| ~Chunk () override | |
| Destructor. More... | |
| Chunk & | operator= (const Chunk &other) |
| Assignment operator. More... | |
| core::Size | choose () const |
| Chooses an allowable insertion position on [start, stop] according to the probability distribution. More... | |
| core::Size | start () const |
| Lower boundary of this chunk. More... | |
| core::Size | stop () const |
| Upper boundary of this chunk. More... | |
| core::Size | length () const |
| Returns the length of this region. More... | |
| bool | is_movable () const |
| Returns true if at least one position on [start(), stop()] is movable. More... | |
| bool | valid () const |
| Returns true if there is at least one valid insertion position in the closed region [start(), stop()], false otherwise. More... | |
Private Types | |
| typedef boost::math::normal | Normal |
| typedef core::Size | Size |
| typedef core::kinematics::MoveMapOP | MoveMapOP |
Private Attributes | |
| RegionOP | region_ |
| MoveMapOP | movable_ |
| std::unique_ptr < numeric::random::DistributionSampler < Normal > > | sampler_ |
|
private |
|
private |
|
private |
Default constructor <region> describes the contiguous stretch of residues. <movable> describes the modifiable degrees of freedom in the system.
References SALT, sampler_, SD_MULTIPLIER, start(), and stop().
|
overridedefault |
Destructor.
| Size protocols::nonlocal::Chunk::choose | ( | ) | const |
| bool protocols::nonlocal::Chunk::is_movable | ( | ) | const |
| Size protocols::nonlocal::Chunk::length | ( | ) | const |
Returns the length of this region.
References region_.
| Size protocols::nonlocal::Chunk::start | ( | ) | const |
Lower boundary of this chunk.
References region_.
Referenced by choose(), Chunk(), is_movable(), and valid().
| Size protocols::nonlocal::Chunk::stop | ( | ) | const |
Upper boundary of this chunk.
References region_.
Referenced by choose(), Chunk(), is_movable(), and valid().
| bool protocols::nonlocal::Chunk::valid | ( | ) | const |
|
private |
Referenced by choose(), is_movable(), and operator=().
|
private |
Referenced by length(), operator=(), start(), and stop().
|
private |
Referenced by choose(), Chunk(), and operator=().
1.8.7