Click here to Skip to main content
15,884,473 members
Everything / General Programming / Algorithms

Algorithms

algorithm

Great Reads

by Arthur V. Ratz
In this article we'll demonstrate the implementation of k-means clustering algorithm to produce recommendations.
by Igor Ladnik
Automatic generation of optimal control policies for the basic quadcopter flight modes
by Eric Ouellet, Sani Huttunen
Fast implementations of permutation algorithms
by Dmitriy Gakh
Development in C# without care of resource consumption can lead to overloading the system. This article describes a case with large waste of memory and CPU time and how to avoid it.

Latest Articles

by Igor Gribanov
C++ iterators and algorithms work well for containers, but can we sort the Structure of Arrays?
by Henrik Vestermark
The steps needed to build an Interval Arithmetic class in C++
by Ștefan-Mihai MOGA
How to solve real-life problems using B-trees
by Nicolas DESCARTES
How to implement logistic regression in ML.NET?

All Articles

Sort by Updated

Algorithms 

19 Oct 2010 by "Fish" (David B. Trout)
Simple parsing of VS_VERSIONINFO version information strings displayed in an XP-style file-properties "Version" tab
5 Oct 2010 by #realJSOP
One way to create a completely random encryption key, and sharing it with a client application
21 Jan 2014 by Abdelrahman Elzedy
A brief overview on mathematical implementations with programming language
30 Apr 2021 by ADMGNS
An alternative method to Catmull-Rom, Chaikin or Bezier curve smoothing methods
6 Aug 2022 by ADMGNS
A new method for 2D polyline simplification and also smoothing that alternative to Douglas-Peucker and curvature-based simplification algorithms
4 Mar 2014 by Al-Samman Mahmoud
Basic tool for the translation of DNA
9 Aug 2016 by Alberto Montibelli
Application for solving Bin Packing and Cutting Stock problem
9 May 2016 by Alexandr Surkov
13 Feb 2017 by Alibaba Cloud
In this post, we learn about algorithms that help implement ML functions.
30 Jun 2023 by altomaltes
This algorithm uses very simple integer math (add and multiply) to render arcs, lines, etc. to CNC machines or a computer surface.
29 Sep 2013 by Amit Bezalel
Transfering subtitle synchronization from one subtitle file to another
11 Jan 2023 by Andrea Simonassi
A simple yet powerful multiplication algorithm
26 Sep 2010 by Andreas Gieriet
.NET 4 finally allows to define polymorphic extension visitors
14 May 2012 by Andreas Gieriet
Make floating point equality and relation operators reliable based on a comparison epsilon value.
20 Jun 2012 by Andreas Gieriet
This is an alternative for "Converting Postfix Expressions to Infix"
7 Jun 2016 by Andreas Michael Kreuzer
This article is about collision detection for convex polytopes using the simplex method.
14 Jun 2017 by Andy Allinger
Introduces data clustering and the k-means++ algorithm
14 Mar 2022 by Andy Bantly
Visualizing the Mandelbrot set using multiple threads of execution
7 Jun 2012 by AndyUk06
A recursive algorithm to find all paths between communicating network nodes.
10 Aug 2010 by anshulskywalker
Understanding of Example Based Machine Translation (EBMT) system and how to create your own using exisiting tools
20 Nov 2018 by Apriorit Inc, Artem K.
Find out approaches which you can use to improve runtime algorithms for zero-day threat detection
1 Dec 2010 by Aron Weiler
A standard in-memory generic .NET queue that, when the configurable overflow limit is reached, will start using MSMQ as a backend to mitigate the issues with memory usage.
22 Mar 2015 by Artem Los
The aim of this post is to give a short overview of the subject, summarizing basic concepts.
26 Apr 2016 by Arthur Minduca
How to choose the right data structure for a collection of elements
27 Apr 2018 by Arthur V. Ratz
In this article, we will formulate and discuss CLOPE data mining clustering algorithm that allows to drastically increase the quality and efficiency of categorized data clustering and can be easily used for recommendation-specific purposes
3 Jan 2022 by Arthur V. Ratz
Optimizing the performance of the large-sized matrices QR factorization and eigendecomposition, using Schwarz-Rutishauser algorithm
20 Jul 2019 by Arthur V. Ratz
How to perform ARL by using the scalable optimized Apriori algorithm
20 Jul 2019 by Arthur V. Ratz
How to perform ARL by using FPGrowth algorithm
30 Dec 2018 by Arthur V. Ratz
SVD in C++11 explained with an example
16 Sep 2022 by Arthur V. Ratz
Compute the Levenshtein distance of literal strings effectively by using the Wagner-Fischer (two matrix rows-based) algorithm.
25 Dec 2016 by Arthur V. Ratz
In this article we'll demonstrate the implementation of k-means clustering algorithm to produce recommendations.
29 Aug 2017 by Arthur V. Ratz
How to implement k-means clustering algorithm to perform graphical raster image segmentation
20 Jul 2015 by Ashkan Pourghasem
Hands on tutorial of implementing batch gradient descent to solve a linear regression problem in Matlab
13 Oct 2013 by ASP.NET Community
StrategyThe Strategy design pattern allows you to use multiple algorithms interchangeably.  One reason you might use a Strategy Pattern is to
26 May 2014 by Atalia Beukes
Solution of the Towers of Hanoi problem.
16 Dec 2010 by Avi Farah
Overcoming limitations of: Enhanced String Handling
16 Feb 2023 by Ayat Rakhishev
A walkthrough of dynamic programming
25 Nov 2018 by Bartlomiej Filipek
What performance can we get from C++17 parallel algorithms?
4 Oct 2017 by Bhairav Thakkar
A robust framework for complete implementation of Finite Element Analysis in VB.NET
9 Jul 2022 by captnmac
A Tiger hash Implementation for C#, invocable through dotnet's HashAlgorithm class
21 Feb 2018 by Charles Oder
To optimize, or not to optimize, that is the question...
3 Jul 2012 by Charles Wiebe and John Hansen
Maintaining code with complex permissions tends to be difficult, because the code can be distributed across multiple classes. By embedding permissions directly on methods and properties within a class, code is reduced and maintainability is simplified.
3 Apr 2014 by Chris Copeland
Using call stacks, rather than Regular Expression, to deconstruct mathematical formulae and calculate values.
1 Jul 2015 by Chris La
This article explains 10 rules (steps) for replacing the recursive functions using stack and while-loop to avoid the stack-overflow.
17 Nov 2015 by Chris_Riley
My deep dive into Rogue Wave’s CodeDynamics product was to address a challenge I had been facing since my college days: the debugging of a genetic algorithms (GA) application.
6 Oct 2020 by Christ Kennedy
A graphically bouncy and colorful version of the popular numbers tile-sliding game
9 Mar 2011 by Christophe Gauge
This code performs a fuzzy C-means clustering and segmentation of color images, and can be used for feature extraction.
21 Oct 2023 by Code Artist
Implementation of DynamicX-Largest-Triangle-Three-Bucket for chart data plotting
25 Nov 2018 by Coding Notes
An introduction to the SVM and the simplified SMO algorithm
7 Dec 2010 by CodingBruce
Build better schema for rapid data model prototyping.
7 Sep 2010 by Colin Vella
This article presents an algorithm and data structures to implement auto-tiling as seen in RPG Maker, the Starcraft level editor, etc.
23 Dec 2014 by César de Souza
Demonstration of automatic image stitching by interest point matching using the Accord and AForge.NET Frameworks
2 Dec 2014 by César de Souza
Techniques to perform recognition of handwritten digits using Kernel Support Vector Machines
30 Dec 2015 by D Sarthi Maheshwari
A look at possible parallel-producer-consumer patterns. (Final Part)
10 Dec 2015 by Daniel Miller
This article describes the C# implementation for a high-performance role-based access control list.
27 Oct 2015 by Daniel Pfeffer
A faster method for performing interval arithmetic
24 Nov 2014 by Darko Jurić
Pyramidal Kanade Lucas optical flow tracker
10 Jul 2015 by darrellp
A framework for easily solving programming challenges from competitive coding sites
19 May 2014 by databaseobjectmodel
3 Jan 2019 by DataBytzAI
Part one of a series to demystify and democratize the magic (not) of AI
3 Nov 2010 by Dave Midgley
.NET delegates and Generics allow for an elegant implementation of the Command pattern.
21 Jun 2016 by Dave “DWC” Curry
This tutorial will show you a good starting point for a WPF style framework which aims to make creating and maintaining Excel-worksheet-forms easier.
14 Jul 2016 by dcmuggins
Bubble Sort is great...and terrible at the same time.
20 Jun 2013 by DigitalInBlue
This article discusses the implementation and use of a fast alternative to dynamic_cast, Priori.
14 Nov 2010 by Dima Statz
One of the best methods for solving approximate string matching problem
30 Nov 2016 by Dino Konstantopoulos
Running Theano with an Nvidia 1070 GPU on Windows 10, with CUDA 8 and Visual Studio 2015
30 Jan 2012 by Dirk Bahle
UI and code-behind is executed in different threads. Long running processes need asynchronous execution. This artice shows a way of doing this in a ViewModel approach.
28 Aug 2015 by Dmitriy Gakh
Development in C# without care of resource consumption can lead to overloading the system. This article describes a case with large waste of memory and CPU time and how to avoid it.
19 Jun 2012 by Dominik Reichl
CSHA1 - A C++ class implementation of the SHA-1 hash algorithm
14 Aug 2015 by DrABELL
This is an alternative for "Fastest method to trim all whitespace from Strings in .NET"
17 Feb 2015 by DrABELL
Educational software package for Microsoft Windows® 7/8 contains “5-in-1” School Math Calculators and Equation Solvers intended for students and educators
8 Feb 2015 by Emiliano Musso
How to apply GA techniques fo solving problems in VB.NET. The example shows how to create solutions for a 2D maze, which will evolve to find the shortest path between two points.
27 May 2014 by Emre Ataseven
This article is written to demonstrate how could we use genetic algorithm to solve a NP-Complete problem, I used fixture generation problem as sample.
11 Oct 2022 by Eric Ouellet, Sani Huttunen
Fast implementations of permutation algorithms
31 Jul 2015 by Faustino Frechilla
A circular array based lock-free queue with no memory allocation on the heap and no ABA problem
31 Mar 2021 by Fedor Naumenko
Find type of distribution and parameters from set of distributed physical values
10 Jan 2023 by FormerBIOSGuy
This article describes a set of batch, AWK, and PostScript files that together allow you to create personalized, 12-page PDF calendars for some year.
15 Sep 2021 by FranciskaR
Benchmark for 5 flood fill algorithms
11 May 2011 by gaps96
Draws sets of tree nodes in a vertical way. Allows to Export an Image to SVG.
25 Sep 2012 by gbenussi
This article show how we optimize a Primality Test for know if a number is prime or not, and also presents an algorithms (Sieve of Eratosthenes) for calculating the prime numbers for a numbers less than or equal a given numbers efficiently.
6 Sep 2016 by George Swan
An artificial life algorithm that attempts to solve a problem by flying a swarm of entities through a range of possible solutions where each entity is guided by the performance of other members of the swarm
2 Feb 2011 by George Tryfonas
Assembler and Simulator for Don Knuth's MIX Computer from The Art of Computer Programming.
4 Jun 2023 by GeorgeDS
An anecdotal report describing issues encountered in coding a minimal perceptual hash capability, in plain old C, in to 35 year old rolling development, with the goal of running on a noob Win 10/11 installation.
28 Mar 2021 by gggustafson
Revises an earlier implementation of the Gradient Color Picker
26 Apr 2021 by gggustafson
How well does the Interpolation of Colors match the Colors produced by Microsoft's Linear Gradient Brush?
14 Jun 2021 by gggustafson
This article revises an earlier revision of the Gradient Color Picker (V2). The incentive for the revision was a reader request for a larger number of initial color choices.
7 Jun 2016 by GProssliner
cobj is a preprocessor based generator for interface based polymorphism
4 Sep 2013 by Grasshopper.iics
You would never want to use another photo editor in your AIO again
28 Aug 2016 by Halit Yurttaş
Repository Pattern sample over Multiple Datasource or Resource on Domain Object Model
17 Oct 2023 by Henrik Vestermark
Fast and Stable Polynomial root finder for Polynomial with real coefficients
11 Oct 2023 by Henrik Vestermark
Practical implementation of a fast, robust and reliable polynomial root finder using Newton's method
11 Nov 2023 by Henrik Vestermark
Practical implementation of a fast, robust and stable polynomial root finder using Halley's method
20 Dec 2023 by Henrik Vestermark
Durand-Kerner method for Polynomial roots. A fast and reliable simultaneous method
8 Jan 2024 by Henrik Vestermark
Ostrowski multi-point method for Polynomial roots
29 Nov 2023 by Henrik Vestermark
Laguerre's method for a stable and efficient polynomial root finder.