## Oracle ROUNDing number according to Bankers algorithm

I need an oracle function which performs Bankers algorithm to round number value. ROUND() function in Oracle performs rounding of 0.5 to 1 and 1.5 to 2 which results in adding extra 0.5 value each time it is used. In the Bankers algorithm 0.5 will round to 0 and 1.5 will round to 2 which balances th ...

## Oracle Hiding Sensitive Association Rule for Sanitization algorithm implementation

I am doing my research in the area of Data Mining and my problem is hiding industrial information using Hiding Sensitive Association Rule. If anybody having Sanitization process and algorithm implementation using Java. If anybody having relate materials, algorithms implementation, documentation and ...

## Looking for AES algorithm implementation

I am looking for AES algorithm implementation which is not dependent on JCE library. I prefer a single AES algorithm implementation which is not dependent on any additional classes/libraries. It is better shipped with some related "how to use" documents and samples dealing with how to invo ...

## Algorithm Implementation

I need someone in implementation of algorithm in java in project with regards to cryptography.Will prefer someone who understand algorithm and cryptopgraphy system well.please contact me at [email protected] to discuss about the price. ...

## Data Mining Algorithm Implementation

if any one here could help me regarding the data mining algorithms. I am looking for a C/C++ or VC++ implementation of the Clustering K-Mean Algorithm. if any one could guide me how to go about it or send me a code, i'd be grateful. ...

## banker's algorithm implementation

we are given the assignment to implement the banker's algorithm in c. this implementation must run in the linux terminal and program must be utilized the os in the time of execution. this means that it must capable on real-time execution with the os. i really don't have any idea how to do this. asid ...

## algorithm implementation problem

basically i need an algorithm that will count the frequency of each date stored in a database. The database is storing votes and they want to see number of votes per day.i come from a java background and havent touched that in a year and i think im getting confused..the pseudo code:1. get all dates ...

## binary search algorithm implementation causes stackoverflow error

I am trying to learn how to write recursive functions. Here, I tried to create a recursive implementation of binary search algorithm. The algorithm works fine but when the number of elements to search is increased(say 35 elements) a stackoverflowerror exception is raised. here is the code.package al ...

## New Sorting Algorithm Implementation

Please help with this new sorting algorithm. I implement it on VB but i cant get a correct output. It's a new sorting algorithm and the pseudocode was provided. Here are the informations about it.Here are the steps:1. In a single pass on the array, the algorithm finds max, min, Number Of Positive (N ...

## New Sorting Algorithm Implementation

Please help with this new sorting algorithm. I implement it on VB but i cant get a correct output. It's a new sorting algorithm and the pseudocode was provided. Here are the informations about it.Here are the steps:1. In a single pass on the array, the algorithm finds max, min, Number Of Positive (N ...

## Huffman algorithm implementation in C

friends!! I am very new to this type of groups, and this is my first post to this group, before asking u all a help I am just posting this code to u all, , please respond for this code Huffman algorithm is one used for image compression and it is also called as variable length coding, after all u ha ...

## C++ Maze Generation Algorithm Implementation Help

I am attempting to create a simple console maze generator in C++ for a school project. I've already gotten most of it down but I'm having a problem debugging the actual generation algorithm I've implemented. I've been learning C++ for the past few months now but I haven't ventured into the STL very ...

## help with rc5 algorithm implementation

need help in execution of rc5 algorithm.here is the code i wrote so far.please make the required changes in this code..import javax.swing.*;import java.util.io.*;public class Rc5{private int[] s;private int[] l;private int b, u, t, c;private byte[] key;private int rounds;public Rc5(){String str = ...

## Question on implementation on CRC (Cyclic Redundancy Code) algorithm.

Can somebody help me with the CRC (Cyclic Redundancy Code) algorithm implementation given below:There is a three byte packet header. <--------1st byte-----><--------2nd byte-----><--------3rd byte------------->------------------------------------------------------------------------ ...

## Apriori Algorithm in C code

Can anyone send me the Apriori Algorithm implementation in C and a dataset so that I can able execute and learn. Your help is greately appreciated. ...

## Reed Solomon - Algorithm

I have to write a program which shows Reed Solomon Algorithm implementation.I'm looking for some information about it , maybe some examples in C++.I have something like this : http://www14.in.tum.de/lehre/1999WS/ds/slides/ReedSolomon.htmlbut I don't know how can I transalte it into C++.Please hlep m ...

## Banker's algorithm

all. I am not in a programming class per say. It is actually a modern operating systems class and our teacher asked us to work out this little lab. It is not for any points but just to help us understand the concept of when deadlocks occur and such. Here is the lab:Code the Bankers' algorithm for de ...

## Ubuntu [C] Euclidean Algorithm calc (critiques, please!)

I've now written a very simple Euclidean Algorithm calc in C (of course not using the Math Library's gcd()!!) and would like to know if there's something to correct, improve or whatever... Surely the use of buffers can be changed to something more efficient; for some reason, I feel I'm still working ...

## Need help to QuickSort code

I got everything written, but i can not figure out why i keep getting numbers that are out of order. Can someone please give me some insight to why after quicksorting, the numbers are not in ascending order. thanks in advance.#include <iostream>using namespace std;typedef int Position;typedef ...

## Question about string pattern matching

I am working on a dictionary application implementation. I have question about a string pattern matching algorithm implementation. In this algorithm, * can be used to match any sequence of characters. The input is string s1 and string s2, the algorithm using s2 to match s1, and the output is the num ...

## :-O Prim's Algo

Any one knows different types of Prim's Algorithm Implementation. ...

## PKCS#10 CSR Support?

I was looking to write some code to do a certificate signing request, and was wanting to use the IBM JCE due to its FIPS certified algorithm implementation. There is a jar file, ibmpkcs.jar, that has all sorts of PKCS goodness.. but I can't find any documentation anywhere on using that code.Does any ...

## index numbering for elements in an array

I was wondering, how do I put in an index number for n elements. The program provided asks you to enter the numbers and it puts them in descending order, but I need an index number to be put with the values you enter for n to be the same for that exact number you put in.Here's the code I have:#inclu ...

## parallel array for selection sort

I need an array listing the index number for a list of n elements and when I sort it in descending order, I need that same number to be with the element. Here's the code I have so far:#include <iostream>using namespace std;int Partition(int low,int high,int arr[]);void Selection_sort(int low,i ...

## Question about string pattern matching

I am working on a dictionary application implementation. I have question about a string pattern matching algorithm implementation. In this algorithm, * can be used to match any sequence of characters. The input is string s1 and string s2, the algorithm using s2 to match s1, and the output is the num ...

## max exec time error

am getting this error when i run thisblowfish algorithm..help me plx.am getting this error in the first function itself..vim: set expandtab tabstop=4 shiftwidth=4: */ // +----------------------------------------------------------------------+ // | Blowfish 4 PHP v0.0.7-dev | // | (BLOWFISH encryptio ...

## Sorting in ArrayList

I want to sort the getSal values in the myList. It should be a sorting algorithm implementation so that adding or removing objects does not affect the performance.import java.util.*;public class payment {public String name;public int salary; void setName(String _name) {name = _name;}String getName() ...

## passing parameters from Doc class to a Dialog class

I am in desperate need of help. I have written a full algorithm implementationin C++ using Console. Now I am switching to Visual C++ 6 to try and have a niceGUI. I have to say I am new at the visual stuff, so please bear with me. Myproblem is this: The core of the program, written in C++, traverses ...

## MD5 with 128-bit uint

I am somewhat familiar with MD5 checksums and the algorithm implementation using DWORD's to compute them.Is it possible to simplify the MD5 calculation if implementations of UINT64 and UINT128 are available? :confused:If so, does anyone have source code for this?Sincerely, Chris. ...

## Question about string pattern matching

I am working on a dictionary application implementation. I have question about a string pattern matching algorithm implementation. In this algorithm, * can be used to match any sequence of characters. The input is string s1 and string s2, the algorithm using s2 to match s1, and the output is the num ...

## Oracle database compression using external compression techniques

how can we compress the database table by using external compression techniques like Huffman, LZW. Do the oracle have these algorithm implementation/specific keyword for compressing table containing text and integer data. I know that we can use these technique for compressing BLOB/ audio and video f ...

## Ubuntu [C] Alternative to toascii()

I'm trying to write a little RSA-Algorithm implementation in C (as my second serious program!). It works reading the plaintext from a text file and storing it into a string array. But, now I need to convert the characters into plain numbers so I can pad them afterwards. I found toascii() could be us ...

## A Decrypted AES Key occasionally produced InvalidKeyLength Exception

This is code generated for my Algorithm Implementation's class. I was to create my own RSA public and private keys using modPow and modInverse and use that to implement a digital signature. That works great, not the problem here. For extra credit I am implementing a digital envelope that will encryp ...

## Passticket generation algorithm: help needed for Java implementation

I have to write a class which implements the Passticket algorithm as described in http://publib.boulder.ibm.com/infocenter/zos/v1r10/topic/com.ibm.zos.r10.icha300/algor.htm#algorwhich will run in a linux environment.The fact is that some details are not clear. For instance they say: "The RACF user I ...

## Passticket generation algorithm: help needed for Java implementation

I have to write a class which implements the Passticket algorithm as described in http://publib.boulder.ibm.com/infocenter/zos/v1r10/topic/com.ibm.zos.r10.icha300/algor.htm#algorwhich will run in a linux environment.The fact is that some details are not clear. For instance they say: "The RACF user I ...

## need c++ implementation of the algorithm

can anybody help me on this algo provided below....................I need a c++ implementation for the following algorithm.............Algorithm RST-TInput: A set of points P = {(xi, yi)}Output: A rectilinear Steiner tree with all points in P connectedA. Build an RST-T with horizontal trunk1. Set ym ...

## VBA implementation of metaphone algorithm

Are there any VBA implementation of the METAPHONE algorithm for phonetic comparison. or may be in the form of some add-in.Earlier I used SOUNDEX but was founding it too loose, but I have since learned that this metaphone is better one and another version of it the Double Metaphone is still better. A ...

## implementation of Bellman-Ford algorithm

I'm looking for a ready code in Java for JADE implementation of Bellman-Ford algorithm. I really need in developing Agent for the research. I am not an expert in programming. For anyone who has been developed or seen the Bellman-Ford algorithm source code in Java, I would be very grateful if you can ...

## Complete the implementation of linear-time algorithm for Stock Span Problem

I need some help with this problem Complete the implementation of linear-time algorithm for Stock Span Problem already I have this code : for i=0 to n-1 dodone < falsewhile not(D.isEmpty() or done) doif P[i]>=P[D.top()] thenD.pop()elsedone < trueif D.isEmpty()thenh< -1elseh <d.top()S[ ...

## Greedy String Tiling : Help for speedup an implementation of the algorithm

I've implemented the Greedy String Tiling algorithm to find similar strings. This method returns a number which means how similar two strings are. A bigger number indicates more similarity (it is not a percentage of similarity). We are using this implementation in an application that generates descr ...

## Java Implementation DES-Algorithm Cryptographic

I have a problem to implement the DES(Data Encryption Standard)-Algorithm in Java. It doesn't work so in that way i want to.Can anybody help me...has anybody a java source code for the des algorithm? It's very important und urgent for me because of my exam. ...

## Implementation of Distance vector and link state routing algorithm in JAVA

I want the implementation of Distance vector routing algo and link state routing algo in JAVA.Thanks in advance. ...

## Java Implementation of DES-Algorithm(Cryptography) with JCE?

I have a problem to implement the DES(Data Encryption Standard)-Algorithm in Java. It doesn't work so in that way i want to.Can anybody help me...has anybody a java source code for the des algorithm? It's very important und urgent for me because of my exam. ...

## Algorithm is fine but now implementation?

As a matter of curiosity, we keep reading so many algorithms but if I'm not mistaken, it must be taking a lot of coding to actually get that to work. There is this job scheduling problem whose solution looks so simple - pick the one with the earliest finishing time. But are two arrays(linked lists) ...

## Algorithm for "Implementation of Reed Solomon Encoder/Decoder"

I am working on my Master Thesis entiltled "Implementation of Reed Solomon Encoder/Decoder" .I am little bit confused.If anybody has idea please kindly help me. ...

## implementation of algorithm

i m doing my thesis in database. its related to data mining. i have to implement it. but i dnt knw how to start it. can anyone plz help me. i hav written the algo psedocode. ...

## Implementation of Round Robin scheduling algorithm

I don't know how to determine the finish time of each process in a 5- process problem ...

## Implementation of Union find Algorithm

I have a series of Key value pairs. Each Key has 2 values. Values of Keys ma coincide.Initially i start with Key1, ValueKey1, ValueKey2 are stored in a set.(Maybe Array).Now for each consecutive Keyi, i check if Valuei, Valuei+1 are in the set. If any one of them is in the set, then join the set. El ...

## Algorithm to add areas

I am currently working on a project which requires to perform the addition and subtraction of areas of arbitrary shape and sizes. The areas are given by giving the co-ordinates of points and the edge description between them (whether joined by a straight line or an arc). I did come up with an algori ...

## String algorithm

I was looking for an algorithm to find the cheapest way to transform one string into another. Found Levenshtein method but this works well on short strings.I used to compare (to find differences) large files, so the Levenshtein's method implementation uses a large amount of memory and is sloooooow M ...