math/the-algorithms-c++ g20251011
Collection of various algorithms in mathematics, physics, etc
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
f013771177- License
- MIT
- Categories
- math
- Package size
- 732.2 KiB, 4421.2 KiB installed
Description
TheAlgorithms/C-Plus-Plus is a collection of open-source implementation of a variety of algorithms implemented in C++ and licensed under MIT License. These algorithms span a variety of topics from computer science, mathematics and statistics, data science, machine learning, engineering, etc. The implementations and the associated documentation are meant to provide a learning resource for educators and students. Hence, one may find more than one implementation for the same objective but using a different algorithm strategies and optimizations.
Install
As a binary package — by origin, or by package name:
pkg install math/the-algorithms-c++
pkg install the-algorithms-c++
From the ports tree:
cd /usr/ports/math/the-algorithms-c++/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= the-algorithms-c++>0:math/the-algorithms-c++
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | g20251011 | g20251011 | - | g20240212 | g20251011 |
| FreeBSD:14:quarterly | g20251011 | g20251011 | n/a | g20240212 | g20251011 |
| FreeBSD:15:latest | g20251011 | g20251011 | n/a | g20240212 | g20240212 |
| FreeBSD:15:quarterly | g20251011 | g20251011 | n/a | n/a | n/a |
| FreeBSD:16:latest | g20251011 | g20251011 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 33
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/ninja
- devel/readline
- dns/libidn2
- graphics/freeglut
- graphics/libGLU
- graphics/libglvnd
- lang/python312
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- textproc/expat2
- x11-toolkits/libXmu
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libxcb
- x11/xorgproto
All run dependencies 18
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake gl localbase:ldflags xorg
- Service scripts
- none
Files
pkg-plist 359
- bin/backtracking/generate_parentheses
- bin/backtracking/graph_coloring
- bin/backtracking/knight_tour
- bin/backtracking/magic_sequence
- bin/backtracking/minimax
- bin/backtracking/n_queens
- bin/backtracking/n_queens_all_solution_optimised
- bin/backtracking/nqueen_print_all_solutions
- bin/backtracking/rat_maze
- bin/backtracking/subarray_sum
- bin/backtracking/subset_sum
- bin/backtracking/sudoku_solver
- bin/backtracking/wildcard_matching
- bin/bit_manipulation/check_even_odd
- bin/bit_manipulation/count_bits_flip
- bin/bit_manipulation/count_of_set_bits
- bin/bit_manipulation/count_of_trailing_ciphers_in_factorial_n
- bin/bit_manipulation/find_non_repeating_number
- bin/bit_manipulation/gray_code
- bin/bit_manipulation/hamming_distance
- bin/bit_manipulation/next_higher_number_with_same_number_of_set_bits
- bin/bit_manipulation/power_of_2
- bin/bit_manipulation/set_kth_bit
- bin/bit_manipulation/travelling_salesman_using_bit_manipulation
- bin/ciphers/a1z26_cipher
- bin/ciphers/atbash_cipher
- bin/ciphers/base64_encoding
- bin/ciphers/caesar_cipher
- bin/ciphers/elliptic_curve_key_exchange
- bin/ciphers/hill_cipher
- bin/ciphers/morse_code
- bin/ciphers/vigenere_cipher
- bin/ciphers/xor_cipher
- bin/cpu_scheduling_algorithms/fcfs_scheduling
- bin/cpu_scheduling_algorithms/non_preemptive_sjf_scheduling
- bin/data_structures/avltree
- bin/data_structures/binary_search_tree
- bin/data_structures/binary_search_tree2
- bin/data_structures/binaryheap
- bin/data_structures/bloom_filter
- bin/data_structures/circular_queue_using_linked_list
- bin/data_structures/cll
- bin/data_structures/disjoint_set
- bin/data_structures/doubly_linked_list
- bin/data_structures/dsu_path_compression
- bin/data_structures/dsu_union_rank
- bin/data_structures/linked_list
- bin/data_structures/linkedlist_implentation_usingarray
- bin/data_structures/list_array
- bin/data_structures/morrisinorder
- bin/data_structures/queue_using_array
- bin/data_structures/queue_using_array2
- bin/data_structures/queue_using_linked_list
- bin/data_structures/queue_using_linkedlist
- bin/data_structures/queue_using_two_stacks
- bin/data_structures/rb_tree
- bin/data_structures/reverse_a_linked_list
- bin/data_structures/segment_tree
- bin/data_structures/skip_list
- bin/data_structures/sparse_table
- bin/data_structures/stack_using_array
- bin/data_structures/stack_using_linked_list
- bin/data_structures/stack_using_queue
- bin/data_structures/test_queue
- bin/data_structures/test_stack
- bin/data_structures/test_stack_students
- bin/data_structures/treap
- bin/data_structures/tree
- bin/data_structures/tree_234
- bin/data_structures/trie_modern
- bin/data_structures/trie_tree
- bin/data_structures/trie_using_hashmap
- bin/divide_and_conquer/karatsuba_algorithm_for_fast_multiplication
- bin/divide_and_conquer/strassen_matrix_multiplication
- bin/dynamic_programming/0_1_knapsack
- bin/dynamic_programming/abbreviation
- bin/dynamic_programming/armstrong_number_templated
- bin/dynamic_programming/bellman_ford
- bin/dynamic_programming/catalan_numbers
- bin/dynamic_programming/coin_change
- bin/dynamic_programming/coin_change_topdown
- bin/dynamic_programming/cut_rod
- bin/dynamic_programming/edit_distance
- bin/dynamic_programming/egg_dropping_puzzle
- bin/dynamic_programming/fibonacci_bottom_up
- bin/dynamic_programming/floyd_warshall
- bin/dynamic_programming/house_robber
- bin/dynamic_programming/kadane
- bin/dynamic_programming/longest_common_string
- bin/dynamic_programming/longest_common_subsequence
- bin/dynamic_programming/longest_increasing_subsequence
- bin/dynamic_programming/longest_increasing_subsequence_nlogn
- bin/dynamic_programming/longest_palindromic_subsequence
- bin/dynamic_programming/matrix_chain_multiplication
- bin/dynamic_programming/maximum_circular_subarray
- bin/dynamic_programming/minimum_edit_distance
- bin/dynamic_programming/palindrome_partitioning
- bin/dynamic_programming/partition_problem
- bin/dynamic_programming/searching_of_element_in_dynamic_array
- bin/dynamic_programming/shortest_common_supersequence
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| TheAlgorithms-C-Plus-Plus-g20251011-b9c118f_GH0.tar.gz | 524247 | b71ea6a20abd33dfd1b44172ff5d5c57f72e973205485c0c174a84fb2868bf77 |