Programmed conservation of historical and architectural heritage. Tools for optimising a process based on knowledge and information