Programming Methods & Algorithms scripts - Top 4 Download

Programming Methods & Algorithms script downloads

Squirrel

Squirrel is known to run on Windows, Linux, MacOS X, PSP, GameCube, Wii, Nintendo DS and XBOX.It's inspired by languages like Python,Javascript and expecially Lua. Key features "Squirrel": · Dynamic typing · Delegation · Classes & inheritance · Higher order functions · Generators · Cooperative threads(coroutines) · Tail recursion · ...
Unknown

Fixed Start Open Multiple Traveling Salesmen Problem Genetic Algorithm

Finds a (near) optimal solution to a variation of the "open" M-TSP by setting up a GA to search for the shortest route (least distance needed for each salesman to travel from the start location to unique individual cities without returning to the starting location).Each salesman starts at the first point, ...
Matlab

Fixed Endpoints Open Multiple Traveling Salesmen Problem Genetic Algorithm

The script finds a (near) optimal solution to a variation of the "open" M-TSP by setting up a GA to search for the shortest route (least distance needed for each salesman to travel from the start location to unique individual cities and finally to the end location).Each salesman starts at the ...
Matlab

Fixed Start End Point Multiple Traveling Salesmen Problem Genetic Algorithm

Finds a (near) optimal solution to a variation of the M-TSP by setting up a GA to search for the shortest route (least distance needed for each salesman to travel from the start location to individual cities and back to the original starting place).Each salesman starts at the first point, and ...
Matlab

Traveling Salesman Problem Nearest Neighbor

This method produces different results depending on what city is choosen as the starting point.This function determines the Nearest Neighbor routes for multiple starting points and returns the best of those routes. Requirements: · MATLAB 7.6 or higher ...
Matlab

Fixed Start Open Traveling Salesman Problem Genetic Algorithm

The algorithm computes the optimal route from a fixed predetermined starting point to all other cities without returning to the starting point. Requirements: · MATLAB 7.6 or higher ...
Matlab

Shared variable

Shared objects work like normal data types but can create a alias variable or can be used as pass-by-reference arguments.The alias variable is called a shared variable. Requirements: · MATLAB 7.6 or higher ...
Matlab

Seed7

It contains concepts from other programming languages, but it's not considered as a direct descendant from any other language. In Seed7, new statements and operators can be declared easily. Functions with type results and type parameters are more elegant than a template or generics concept.Object orientation is used when it brings ...

The Squirrel programming language

It was designed to be a powerful scripting language for small applications like games, due to its small size, reduced memory bandwidth and little real-time requirements.Squirrlel has been tested with the following compilers:MS Visual C++ 6.0,7.0,7.1 and 8.0 (32 and 64bits)MinGW gcc 3.2 (mingw special 20020817-1)Cygnus gcc 3.2Linux gcc 3.2.3Linux gcc ...

Clean implementation for Ordered Dictionary

This script allows you to record the order in which items are added. This implementation uses much less code than the others by extending not well-known class DictMixin. ...
Python

Automated swigging for creating C shared modules

This script contains a simple python function to automate using the swig process for creating C modules for use inside Python. ...
Python

Readable switch construction

Python's lack of a 'switch' statement has garnered much discussion and even a PEP. The most popular substitute uses dictionaries to map cases to functions, which requires lots of defs or lambdas. While the approach shown in this script may be O(n) for cases, it aims to duplicate C's original 'switch' functionality ...
Python

PyCrash

PyCrash is a Run-Time Exception Dumper which handles uncaught exceptions during the execution of Python programs and collects information about the program context. PyCrash can be very useful in report bug information, because the programmer can easily analyse the program execution context of the crashed application. PyCrash provides you following informations: ...
Python

Named Tuples

This script allows you a fast, lightweight attribute-style access to tuples. It contains a function that returns a new subclass of tuple with named fields. The principal features are: - Easy to type/read/modify function signature: NamedTuple('Person', 'name age sex height nationality')  - C-speed attribute lookup using property and itemgetter. - No ...
Python

Python symbols

Python symbols is a toy module that shows a way to define symbols inside functions, using a decorator. ...
Python

Load data in browser without using temp files

This script displays the html files in the default web browser without creating a temp file. It instantiates a trivial http server and calls webbrowser.open with a URL to retrieve html from that server. ...
Python

Flexible enumerate

Flexible enumerate() script adds an additional start argument to the built-in enumerate function. ...
Python

Simpler item retrieval using tupled subscripting

This script shows a small addition to the tuple, list, and dictionary classes to allow for a simpler way to retrieve a number of independent items. By allowing for the subscripting to use tuples some very annoying cases becomes much simpler. This script is suitable for large data sets where you need alot of ...
Python

SQL like ORDER BY function for lists

This script contains a function that allows you to easily sort a list by multiple columns in ascending and descending order similar in function to the ORDER BY clause in SQL. ...
Python

Some python style switches

Some python style switches script shows several ways of making a 'switch' in pyshows sevbr >/ ...
Python