Projects tagged ‘cplusplus’ and ‘lib’


Jump to tag:

Projects tagged ‘cplusplus’ and ‘lib’

Filtered by Project Tags cplusplus lib

Refine results Project Tags c (3) cpp (2) library (2) english (1) multi (1) programming (1) template (1) cryptography (1) hashmap (1) cxx (1) std (1) utility (1)

[5 total ]

0 Users

Wrapper over the standard C++ library
Created 3 months ago.

0 Users

TODO Need to finish Crypto and Network Libs
Created 4 months ago.

0 Users

Introductionlibaco is a library which can be used for solving combinatorial optimization problems using the Ant Colony Optimization (ACO) meta-heuristic. The library implements the following variants ... [More] of ACO algorithms: Simple Ant System Elitist Ant System Rank-Based Ant System Max-Min Ant System Ant Colony System For detailed descriptions of these algorithms take a look at Ant Colony Optimization by Marco Dorigo and Thomas Stuetzle. The project repository contains the following: libaco, the library itself. acotsp, example code applying libaco to the Travelling Salesman Problem. acotreewidth, example code applying libaco to the problem of finding Tree Decompositions of small width. acotemplate, a template project including a command line client. liblocalsearch. a library implementing some basic local search algorithms and neighbourhoods (Hill Climbing, Iterative Local Search, 2-opt Neighbourhood) All this was implemented in the course of my master's thesis entitled "Ant Colony Optimization for Tree and Hypertree Decompositions" at the Vienna University of Technology. DocumentationSection 6.2 of my master's thesis gives an introduction to the libaco library and the acotsp application. External LinksAnt Colony Optimization, Marco Dorigo and Thomas Stuetzle, 2004 The Ant System - Optimization by a colony of cooperating agents, Marco Dorigo and Thomas Stuetzle, 1996 [Less]
Created about 1 year ago.

0 Users

HASHCCA platform independent C++ hash map template implementation using a multidimensional tree structure. Functions are like those of Sun's Java Hash map template StateFirst version is available ... [More] in tags directory! Package name Deeaan Lampel version 0.10 from 2009/10/14 Test were done for: Microsoft Windows Vista using MS Visual Studio 2005 8.0, GNU/linux red hat running kernel 2.6.23 using GNU/g++ 4.1.2, GNU/linux ubuntu running kernel 2.6.24 using GNU/g++ 4.2.4, How toCheck out the project using a SVN client (e.g. TortoiseSVN). For GNU/linux go to directory type make && ./HASHCC/hashcc Or you can download the lastest snapshot as tar gzip ball from downloads tab. TodoRestructure some headers and add more Hashmap templates using different hash functions, different character sets and another tree depth. RemarksLook at the test function testHashMap for usage ~8> Christian Scheiblich [Less]
Created 3 months ago.

0 Users

提供一个简单易用的C++类Properties用以读写基于xml格式的配置文件, 从而实现类似java中Properties类的作用。两者生成的xml文件可以互通。 ... [More] Xml时代据说已经到来了,现在的程序流行使用xml配置文件。如果你 使用过java中的Properties类,你会发现它的方便。很多时候我们并不 需要多么庞大的类库,我们仅仅需要从xml文件中提取“key-value”形式 的配置参数或将其写入。我们需要易于使用的尽可能小的类库。我们可 能想按以下代码形式完成我们的配置文件解析工作:(见src/test/tes- tproperties.cpp) codeProperties p; p.setProperty("sid","harite"); p.setProperty("port","1521"); p.setProperty("userpassword","12y3_aer65"); p.setProperty("host","127.0.0.1"); p.setProperty("username","system"); p.storeToXML("connectsetting.xml"); p.clear(); if(!p.loadFromXML("connectsetting.xml")) { cout << "falue" << endl; } else { for(Properties::const_iterator it = p.begin() ; it!=p.end() ; ++it) { cout << (*it).first << "-->" << (*it).second << endl; } cout << "use getProperty" << endl; cout << p.getProperty("sid", "") << endl; cout << p.getProperty("username", "") << endl; cout << p.getProperty("port", "") << endl; cout << p.getProperty("notexist", "defaultvalue") << endl; p.clear(); }code是不是发现这个c++类的名字和几个方法与java中的Properties类很相 似?哈哈,你是对的,使用libproperties库生成的xml文件是完全可以与 java中Properties类互通的!libproperties库可以无障碍的读取java程 序产生的xml文件(使用Properties类)。 libproperties库会不会难于学习?不会!它对外只提供一个类和几个 公共方法。(仅有类Properties) libproperties库线程安全吗?不安全。底层基于tinyxml2.4.3库,这 个库线程不安全。 我已经有了tinyxml库,如果安装了libproperties库,会不会冲突? 如果你已经安装了tinyxml库,包括头文件和库文件,则可以将include 目录下的libproperties.h和libproperties_tinyxml_ext.h引入你的工 程头文件搜索路径,将src/libproperties里的libproperties.cpp和l- ibproperties_tinyxml_ext.cpp源文件引入你的工程即可。libproper- tis源文件没有修改任何tinyxml源文件,只是衍生出几个类。 [Less]
Created 12 months ago.