Skip to content

Commit

Permalink
Merge pull request #138 from nanocoh/main
Browse files Browse the repository at this point in the history
Docs
  • Loading branch information
nanocoh authored Nov 1, 2024
2 parents 9ed243e + 96e0801 commit 8f7f800
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions docs/bne/classes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ BNE classes

.. doxygenclass:: naja::BNE::ActionTree
:members:

.. doxygenclass:: naja::BNE::Action
:members:
15 changes: 9 additions & 6 deletions src/bne/bne.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ class BNE {
*/
void addDeleteAction(const std::vector<SNLID::DesignObjectID>& pathToDelete);
/**
* \brief Add a delete action to the BNE.
* \param pathToDelete The path to delete.
* \brief Add a drive with constant action to the BNE.
* \param pathToDrive The context.
* \param termToDrive The term to drive.
* \param value The value to drive.
*/
void addDriveWithConstantAction(
const std::vector<SNLID::DesignObjectID>& context,
Expand All @@ -34,16 +36,17 @@ class BNE {
const double& value,
SNLBitTerm* topTermToDrive = nullptr);
/**
* \brief Add a delete action to the BNE.
* \param pathToDelete The path to delete.
* \brief Add a reduction action to the BNE.
* \param context The context.
* \param instance The instance that can be reduced.
* \param result The interface reduction needed.
*/
void addReductionCommand(
const std::vector<SNLID::DesignObjectID>& context,
SNLID::DesignObjectID instance,
const std::pair<SNLDesign*, SNLLibraryTruthTables::Indexes>& result);
/**
* \brief Add a delete action to the BNE.
* \param pathToDelete The path to delete.
* \brief Process the commands.
*/
void process();
private:
Expand Down

0 comments on commit 8f7f800

Please sign in to comment.