You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
656 B
Python
31 lines
656 B
Python
FluidMDS : FluidManipulationClient {
|
|
classvar < manhattan = 0;
|
|
classvar < euclidean = 1;
|
|
classvar < sqeuclidean = 2;
|
|
classvar < max = 3;
|
|
classvar < min = 4;
|
|
classvar < kl = 5;
|
|
classvar < cosine = 5;
|
|
|
|
*new {|server|
|
|
var uid = UniqueID.next;
|
|
^super.new(server,uid)!?{|inst|inst.init(uid);inst}
|
|
}
|
|
|
|
init {|uid|
|
|
id = uid;
|
|
}
|
|
|
|
fitTransform{|sourceDataSet, destDataSet, numDimensions, distanceMetric, action|
|
|
this.prSendMsg(\fitTransform,
|
|
[sourceDataSet.asSymbol, destDataSet.asSymbol, numDimensions, distanceMetric], action);
|
|
}
|
|
|
|
// not implemented
|
|
cols {|action|}
|
|
read{|filename,action|}
|
|
write{|filename,action|}
|
|
size { |action|}
|
|
|
|
}
|