Simulated annealing is a computational algorithm for optimization. It mimics the physical process of thermal annealing in which a metal is heated and then slowly cooled to settle into a highly ordered crystal structure. For common metals, the lowest energy state is already known. But the method is useful for other problems where the best state is not known and exhaustively searching all possible states is impractical. The method is applied by modeling the problem as a physical system with structure, energy, and temperature. This Python module implements simulated annealing so that it can be easily applied to a variety of problems. An example program is include to perform simulated annealing of the traveling salesman problem.
Mysql Done Right is a PHP 5.0+ class that provides a safe, clean, object-oriented, and efficient way to do database development. All queries except those with multiple row results return exactly what you need in one line of code. This is all done while still maintaining use of prepared queries and bound parameters to eliminate the risk of SQL injection attacks and operate more efficiently. No extra coding is needed on your part to reuse prepared queries. You simply write the same query again, and if you have used that one before, the prepared handle is reused. The newly bound parameters are used against the existing prepared handle, and the results are recomputed. The results themselves are not cached. Database connectivity is implemented using MySQLi.
SRR database simulator is a PHP class for storing information in "database tables". The PHP file which contains the class definition and the text files which contain the user data (tables, rows, etc.) can be in a unique directory, so backing up the database is easy. All the data is only stored as text.
JCGO (pronounced as "j-c-go") translates (converts) programs written in Java into platform-independent C code that can be compiled (by third-party tools) into highly-optimized native code for the target platform. JCGO is a powerful solution that enables your desktop, server-side, embedded, mobile, and wireless Java applications to take full advantage of the underlying hardware. In addition, JCGO makes your programs, when compiled to native code, as hard to reverse engineer as if they were written in C/C++. The JCGO translator uses some optimization algorithms that allow, together with optimizations performed by a C compiler, the resulting executable code to reach better performance compared with the traditional Java implementations (based on the Just-In-Time technology). The produced executable does not contain nor require a Java Virtual Machine to execute, so its resource requirements are smaller than that required by a typical Java VM. This also simplifies the process of deployment and distribution of an application.
Image.class is a PHP class that can be used to generate images with graphic primitives defined programmatically. It can create an empty image with a given size or load an existing image from a JPEG, PNG, or GIF image. The class can render graphic primitives in the image like drawing a text string with optional border, copying parts of the image to another position, drawing ellipses, rectangles, and lines, and scaling the image to a given size. The generated image can be saved also in JPEG, PNG, or GIF formats.
The uFlex class can be used to manage registrations and authenticate users with records in a MySQL database. It can perform several types of operations with registered users of a site. Currently, it can create or update registered user records, activate user accounts, reset passwords, authenticate a user and start a login session, end a login session, and automatically login. As its name implies, the class is very flexible as you can add, modify, and validate any field in the registration and updating process.
Components 4 Java is a development tool for Java. It provides a framework to organize and separate different parts of code, and fills the gap between the class level and the library level as provided by the Java SE architecture. Additionally, you can organize your classes in well-separated and loosely coupled components. Those can be stuck together graphically into larger compositions. Finally, components and compositions will be distributed among Java archives as specified in assemblies.