Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Mazigh committed Oct 24, 2024
1 parent f4bc2f2 commit 7ec6734
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sharing/GlobalStrategies/AllGatherSharing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ AllGatherSharing::serializeClauses(std::vector<int>& serialized_v_cls)
}

// add final zero and fill with zero if needed
serialized_v_cls.insert(serialized_v_cls.end(), totalSize - dataCount, 0);
serialized_v_cls.insert(serialized_v_cls.end(), totalSize - dataCount + 1, 0);

LOGDEBUG1("Serialized %u clauses into buffer of size %u", nb_clauses, serialized_v_cls.size());
return nb_clauses;
Expand Down
1 change: 1 addition & 0 deletions src/sharing/GlobalStrategies/AllGatherSharing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class AllGatherSharing : public GlobalSharingStrategy
protected:
/**
* @brief Serializes clauses for sharing.
* @details Serialization Pattern ([size][lbd][literals])*0+
* @param serialized_v_cls Vector to store the serialized clauses.
* @return The number of clauses serialized.
*/
Expand Down
1 change: 1 addition & 0 deletions src/sharing/GlobalStrategies/GenericGlobalSharing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class GenericGlobalSharing : public GlobalSharingStrategy
/**
* @brief Serializes clauses for sharing.
* @param serialized_v_cls Vector to store the serialized clauses.
* @details Serialization Pattern ([size][lbd][literals])*
* @return The number of clauses serialized.
*/
int serializeClauses(std::vector<int>& serialized_v_cls);
Expand Down
1 change: 1 addition & 0 deletions src/sharing/GlobalStrategies/MallobSharing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class MallobSharing : public GlobalSharingStrategy

/**
* @brief Merges serialized buffers with local clauses from the m_clauseDB database.
* @details Serialization Pattern ([size][lbd][literals])*
* @param buffers Vector of references to buffers containing serialized clauses.
* @param result Vector to store the merged result.
* @param nonFreeLiteralsCount Output parameter to store the count of non-free literals.
Expand Down

0 comments on commit 7ec6734

Please sign in to comment.