brain computer interface; electroencephalography; EEG; segmented EEG graph; PLA (SEGPA); piecewise linear approximation; brain activities; robot control; PLA algorithm; weighted network