|
|
|
@ -26,4 +26,13 @@ FluidKNNRegressor : FluidManipulationClient {
|
|
|
|
this.prSendMsg(\predictPoint, [buffer.asUGenInput, k,uniform], action,
|
|
|
|
this.prSendMsg(\predictPoint, [buffer.asUGenInput, k,uniform], action,
|
|
|
|
[number(FluidMessageResponse,_,_)]);
|
|
|
|
[number(FluidMessageResponse,_,_)]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
read{|filename,action|
|
|
|
|
|
|
|
|
this.prSendMsg(\read,[filename.asString],action);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
write{|filename,action|
|
|
|
|
|
|
|
|
this.prSendMsg(\write,[filename.asString],action);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|