What is the question? Which file(s) does it concern?
How is apertureInfo struct defined in matRad_directApertureOptimization? I don't know how to create the struct to give as a parameter for the function.
I have checked the following matRad Wiki pages and references:
I have checked the matRad wiki page on fluence optimization, which is the only wiki page on optimization that I have found.