Commit Graph

32 Commits

Author SHA1 Message Date
Pavel Patsey feda229c78 add non-working recursive merge algorithm 2025-01-18 23:17:47 +03:00
Pavel Patsey af91a066a1 rename ip_str to ip_address 2025-01-18 20:24:04 +03:00
Pavel Patsey b5a1498a51 add parent_ip info to Node tuple 2025-01-18 20:15:21 +03:00
Pavel Patsey a1dba6affb move tests to a separate file 2025-01-16 15:12:30 +03:00
Pavel Patsey dd90ad624a use tuple opening, use only necessary arguments in functions, delete data_to_nodes function 2025-01-16 14:08:38 +03:00
Pavel Patsey d1afaace68 fix tests 2025-01-16 12:42:18 +03:00
Pavel Patsey 048d4941e4 format by black and isort 2025-01-16 12:41:52 +03:00
Fedor Lyanguzov 5f0353d574 2025-01-12 обсуждение кода 2025-01-12 18:53:24 +03:00
Павел 5ef04aefdf cleanup 2025-01-12 00:00:33 +03:00
Павел 9d5c6b384a add algorithm 2025-01-11 23:59:29 +03:00
Павел c4c5940f8d cosmetic changes 2025-01-11 22:40:23 +03:00
Павел aa75fd7ba6 cleanup 2025-01-11 22:39:23 +03:00
Павел 5a4166095b add reduce_nodes function 2025-01-11 22:30:08 +03:00
Павел 020836d33d add sort_nodes func 2025-01-11 14:40:21 +03:00
Павел 3a5a195d3d add have_same_parent func 2025-01-11 09:45:35 +03:00
Павел 9377d23134 add convert data to nodes 2025-01-11 08:08:08 +03:00
Павел dfd02e3da5 add convert from cidr4 to node 2025-01-11 07:24:48 +03:00
Павел 9148b9be32 init new algorithm 2025-01-11 07:00:22 +03:00
Павел 113b651167 speed up remove_ips_with_subnets function 2025-01-09 14:19:00 +03:00
Павел 99da7ea726 cleanup 2025-01-09 13:46:59 +03:00
Павел 722bd5a751 add remove_ips_with_subnets function and really fix merge functions 2025-01-09 13:00:37 +03:00
Павел 7d89eee92f fix rough_merge_binaries funс, previously the function returned networks and subnets 2025-01-09 01:09:29 +03:00
Павел d514d4f5e0 added smooth_merge_binaries function 2025-01-08 23:13:57 +03:00
Павел fab8786ff8 cleanup 2025-01-08 22:30:13 +03:00
Павел 604861aa80 refactoring: represent binary ip as a string of length 32 2025-01-08 22:29:17 +03:00
Павел ddcb043caa refactoring: represent binary as a string of vlsm length 2025-01-08 21:16:00 +03:00
Павел bb269f380a add rough_merge_ips function 2025-01-08 19:21:44 +03:00
Павел c9c53941ee add reduce_bin_ip function 2025-01-08 12:38:06 +03:00
Павел 76f2710f70 fix cidr4_to_binary function 2025-01-08 12:20:22 +03:00
Павел f7156fb61d added convert functions 2025-01-08 12:16:13 +03:00
Павел 2a4418fccc added cidr list merge algorithm 2025-01-07 17:35:23 +03:00
Павел e901b4e528 init cidr4_merger 2025-01-07 13:28:07 +03:00