0 karma · joined Apr 28, 2025 (1y ago) · 29 submissions
comment 1y ago · link · parent
Unittest: $tree = new Ahocorasick\Ahocorasick(); $tree->add("AC"); $tree->add("GTG"); $tree->add("AACT"); echo $tree->match("ACCGAGTGCGTGGACAAACTACGATTGTGGAATGAACT","AC*GT"); $this->expectOutputString("ACCGAGT,ACCGAGTGCGT,ACCGAGTGCGTGGACAAACTACGATTGT,ACAAACTACGATTGT,ACTACGATTGT,ACGATTGT");
comment 1y ago · link · parent
1.2. Features Trackbar with 2 thumbs where you can select a range not just a value.
2. Requirements - Winforms
3. Installation Download source code and compile.
4. Tutorial Add a reference to the .dll to your project. In designer add an ElementHost Element to your Winforms. In your main class add this code in the constructor:
rs = new BetterControl.RangeSlider(); rs.InitializeComponent(); rs.LowerValue = 30; rs.UpperValue = 90; rs.Minimum = 0; rs.Maximum = 100; this.elementHost1.Child = rs; rs.OnLowerSlider_ValueChanged += new BetterControl.RangeSlider.MyControlEventHandler(rs_OnLowerSlider_ValueChanged); rs.OnUpperSlider_ValueChanged += new BetterControl.RangeSlider.MyControlEventHandler(rs_OnUpperSlider_ValueChanged);
and add the function for the value changed:
void rs_OnLowerSlider_ValueChanged(object sender, double result)
{ MessageBox.Show("L"+result.ToString()); }
void rs_OnUpperSlider_ValueChanged(object sender, double result) { MessageBox.Show("U" + result.ToString()); }
comment 1y ago · link · parent
comment 1y ago · link · parent
1. What is it and what does it do?
Doxmyip is a simple IP address browser for Windows.
1.2. Features
- Supports the free IP2location Lite database (DB15 binary file) with millions of updated IP addresses.
- Supports sorting of the view with 2 different orders (up and down) and to reset it.
- Supports infinite scroll. Navigate millions of IP addresses with the right scrollbar.
- Supports a filter with 4 different subnet masks (255.255.255.255, 255.255.255.0, 255.255.0.0,255.0.0.0).
- Supports a filter with a country code.
- Supports searching for an ip address.
- Supports a sticky navigation bar.
- Asynchronous database query with JS.
- faster search with the free optimized IP2Location php library (winner of the IP2Location php library optimization contest 2016).
- NEW! Map of ip locations.
comment 1y ago · link · parent
The main class takes the coordinates a set of points and determines which form edges of a triangle whose points are on the same circumference. It can be used to find minimum spanning trees.
Another class can render the graph of triangles with the edges computed with the Delaunay triangulation.
8.
Delaunay Triangulation(tetramatrix.github.io ↗)
1 points · by Gigamegs · 1y ago · 1 comment
comment 1y ago · link · parent
It takes the geographic coordinates of a depot and the locations clients with orders to be delivered by a fleet of trucks.
The class for solving the open capacitated vehicle routing problem.
It tries to minimize the total route cost by trying all possible combinations. The trucks are not required to return to the depot.
Website+git: https://tetramatrix.github.io/ocvrp/
10.
Open capacitated vehicle routing problem(tetramatrix.github.io ↗)
1 points · by Gigamegs · 1y ago · 1 comment
comment 1y ago · link · parent
My approach is quite fast since it leverages triangulation. This makes it efficient for computational geometry, geospatial analysis, and clustering, where sites have varying importance. While my implementation isn’t the most robust, I believe it could still be useful or serve as a starting point for improvements. Would love to hear any feedback or see how others might build on it!
Website+git: https://tetramatrix.github.io/awvd/
12.
Weighted Voronoi Diagram(tetramatrix.github.io ↗)
3 points · by Gigamegs · 1y ago · 1 comment
comment 1y ago · link · parent
Mirrors: 1) https://tetramatrix.itch.io/old-school-retro-mini-game-space... 2) https://tetramatrix.github.io/spaceship/
14.
Spaceship(tetramatrix.itch.io ↗)
4 points · by Gigamegs · 1y ago · 1 comment