|
using System;
namespace ServiceRanking
{
/// <summary>
/// Summary description for MathLib.
/// </summary>
public class MathLib
{
public MathLib()
{
//
// TODO: Add constructor logic here
//
}
public static int Min3(int a, int b, int c)
{
return System.Math.Min(System.Math.Min(a, b), c);
}
public static float Max3(float a, float b, float c)
{
return System.Math.Max(System.Math.Max(a, b), c);
}
public static float Max(SyntacticSimilarity syntac, float tf_idf)
{
throw new Exception("The method or operation is not implemented.");
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm still alive...but temporarily moved to work on mobile & web stuffs(j2me/brew/php/flash...something not M$). things have just been very busy, and probably will continue...so don't have chance to maintain & respond. Hope will have time to try to write again, because many ideas with WPF &silver light are waiting. wish me luck
FYI:
- MESHSimPack project(c# library for measuring similarity among concepts of the MESH ontology):
http://sourceforge.net/projects/meshsimpack.