Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
c195f0c
feat: add deps
suvorovrain Oct 29, 2025
d4d94bb
feat: add input data
suvorovrain Oct 31, 2025
6a2fe26
feat: add custom types in main.c + change matrices type from bool to …
suvorovrain Oct 31, 2025
23147e1
fix: change data matrices types
suvorovrain Nov 5, 2025
c57ce63
feat: add template for data initialization
suvorovrain Nov 5, 2025
e8d7d5a
feat: update example
suvorovrain Nov 8, 2025
f741400
refactor: change input type
suvorovrain Nov 8, 2025
05fae16
feat: implement user filtration
suvorovrain Nov 8, 2025
cbba464
feat: reduce cards for filtered users
suvorovrain Nov 9, 2025
0fcc85c
feat: add transactions filter
suvorovrain Nov 9, 2025
3903d98
feat: update example image
suvorovrain Nov 9, 2025
7099c6a
feat: [wip] pagerank matrix preparation
suvorovrain Nov 9, 2025
d09ada0
feat: implement fully working pagerank algoithm
suvorovrain Nov 10, 2025
abf7b38
refactor: get rid of if-err-!=-nil-driven-development
suvorovrain Nov 10, 2025
9c2bf0e
refactor: remove dead code and debug prints
suvorovrain Nov 10, 2025
d168c56
feat: add payment system filter
suvorovrain Nov 10, 2025
e31704c
feat: provide more detailed information about errors
suvorovrain Nov 10, 2025
5e09f05
refactor: consistent enum\struct naming style
suvorovrain Nov 10, 2025
2986074
refactor: make owns mat grb_bool type
suvorovrain Nov 10, 2025
6e068cd
refactor: move out main algorithm logic from main functiom
suvorovrain Nov 11, 2025
6361d78
feat: implement simple pagerank without teleportations
suvorovrain Nov 11, 2025
73220c3
fix: move mask from add to mxm in final pagerank matrix building
suvorovrain Nov 11, 2025
efddbba
fix: memory leaks
suvorovrain Nov 11, 2025
363979f
refactor: rename functions
suvorovrain Nov 11, 2025
bf4eb8b
fix: pagerank fixes
suvorovrain Nov 11, 2025
e36c3fe
fix: use selecet instead of apply in user filtering
suvorovrain Nov 11, 2025
9b5962f
feat: now use select instead of apply in card filtering
suvorovrain Nov 11, 2025
fd51cd4
refactor: better filtering
suvorovrain Nov 11, 2025
6edbed0
fix: remove lagraph. fix binops
suvorovrain Nov 11, 2025
3090f65
refactor: provide more comments
suvorovrain Nov 11, 2025
9d38f66
refactor: remove lagraph from build system
suvorovrain Nov 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "vendor/GraphBLAS"]
path = vendor/GraphBLAS
url = https://github.com/DrTimothyAldenDavis/GraphBLAS.git
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
LIBPATH := $(shell dirname "$(realpath "$(lastword $(MAKEFILE_LIST))")")
GRAPH_BLAS_PATH := $(LIBPATH)/vendor/GraphBLAS
BUILD := $(GRAPH_BLAS_PATH)/build
JOBS := $(shell nproc)

build: graphblas src
graphblas:
mkdir -p $(BUILD) && \
cd $(GRAPH_BLAS_PATH) &&\
cmake -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_BUILD_TYPE=Release \
-G Ninja -B build
cmake --build $(BUILD) --parallel $(JOBS)

clean:
rm -rf $(BUILD)/* ./build
src:
mkdir -p build
gcc src/main.c -I./vendor/GraphBLAS/Include -L./vendor/GraphBLAS/build -lgraphblas -lm -o build/main

.PHONY: all build lagraph clean src

Binary file added data/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading