Example of sc_memory using based on graph task of find minimal path wave algorythm