Skip to content

Commit

Permalink
changed header names
Browse files Browse the repository at this point in the history
added new headers to global include header
  • Loading branch information
gk646 committed Apr 10, 2024
1 parent 645ceed commit 3633ff5
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/BenchMark.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <random>
#include <unordered_map>
#include <unordered_set>
#include "CXStructs.h"
#include "cxstructs.h"
inline static volatile int num1 = 2;
//benchmarks are this / run separately
static void VEC() {
Expand Down
2 changes: 1 addition & 1 deletion src/CXTests.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

#include "CXStructs.h"
#include "cxstructs.h"
#include "cxml/word2vec.h"

#ifdef CX_INCLUDE_TESTS
Expand Down
2 changes: 1 addition & 1 deletion src/Comparisons.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma warning(disable : 4834)

#include <iostream>
#include "CXStructs.h"
#include "cxstructs.h"

#include <deque>
#include <list>
Expand Down
File renamed without changes.
13 changes: 12 additions & 1 deletion src/CXStructs.h → src/cxstructs.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,17 @@

#include "cxconfig.h"

//-----------UTIL-----------//
#include "cxutil/cxassert.h"
#include "cxutil/cxbits.h"
#include "cxutil/cxgraphics.h"
#include "cxutil/cxio.h"
#include "cxutil/cxmath.h"
#include "cxutil/cxstring.h"
#include "cxutil/cxtime.h"
#include "cxutil/cxgraphics.h"
#include "cxutil/cxtips.h"

//-----------DATASTRUCTURES-----------//
#include "cxstructs/BinaryTree.h"
#include "cxstructs/DeQueue.h"
#include "cxstructs/DoubleLinkedList.h"
Expand All @@ -44,11 +51,15 @@
#include "cxstructs/row.h"
#include "cxstructs/vec.h"
#include "cxstructs/HashGrid.h"
#include "cxstructs/StackVector.h"
#include "cxstructs/StackHashMap.h"

//-----------MACHINE_LEARNING-----------//
#include "cxml/FNN.h"
#include "cxml/k-NN.h"
#include "cxml/word2vec.h"

//-----------ALGORITHMS-----------//
#include "cxalgos/GraphTraversal.h"
#include "cxalgos/MathFunctions.h"
#include "cxalgos/Misc.h"
Expand Down
8 changes: 3 additions & 5 deletions src/cxutil/cxio.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@
#define CXSTRUCTS_SRC_CXIO_H_

#include "../cxconfig.h"
#include "cxstring.h"

//Simple, readable and fast symmetric serialization structure with loading and saving
//Each line is a concatenates list of values and delimiter '|'
//13|45|23|56|
//These lines can then be parsed by load_property
//Simple, readable and fast *symmetric* serialization structure with loading and saving
//Each line is a concatenated list of values and delimiter '|' (might be changeable in the future)
//13|3.145|This is a string|56|

//Using the CXX23 std::print() is about 10% slower
namespace cxstructs {
Expand Down

0 comments on commit 3633ff5

Please sign in to comment.