You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One place where the first hints of a dose-escalation DSL might be found is in treating ccd:enroll/3 (current version below) as merely a default implementation that might be redefined by special cases of CCD trials.
%% This enroll/3 goal, with its reified 'success' arg #3, creates fine%% opportunities to bring various CCD-adapted STOPPING CRITERIA to bear.%% Presently, we are simply checking whether cohort N0 is already 'full'.enroll(T0/N0, T1/N1, Truth) :-
( N0 #>=6->Truth = false;N1 #=N0+1,
Tin0..1, % T is the pending tox assessment of newly-enrolled patientindomain(T), % TODO: Howto'parametrize'this? UseOPTIONS?
T1 #= T0 + T,
Truth = true
).
Is this do-able, and idiomatic? Can a library(boin) e.g. use_module(library(ccd)) and then provide its own version boin:enroll/3 which predicates from ccd would then call? (Am I right to understand that Prolog is not lexically scoped?)
The text was updated successfully, but these errors were encountered:
One place where the first hints of a dose-escalation DSL might be found is in treating
ccd:enroll/3
(current version below) as merely a default implementation that might be redefined by special cases of CCD trials.Is this do-able, and idiomatic? Can a
library(boin)
e.g.use_module(library(ccd))
and then provide its own versionboin:enroll/3
which predicates fromccd
would then call? (Am I right to understand that Prolog is not lexically scoped?)The text was updated successfully, but these errors were encountered: